Added page for forbbiden access to signed out users.

This commit is contained in:
Pierre
2017-12-17 18:48:02 +01:00
parent 4cc00b7868
commit ad6d3ed706
6 changed files with 152 additions and 17 deletions

View File

@ -201,6 +201,25 @@ ComunicWeb.user.userInfos = {
});
},
/**
* Get advanced informations about a user
*
* @param {Integer} userID The ID of the user to fetch
* @param {Function} callback What to do once we got the information
*/
getAdvancedInfos: function(userID, callback){
//Prepare an API request
var apiURI = "user/getAdvancedUserInfos";
var params = {
userID: userID
};
//Perform the request
ComunicWeb.common.api.makeAPIrequest(apiURI, params, true, callback);
},
/**
* Get the user ID specified by its folder name
*