DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Access types

To manage access (rights) to private data severeal types of access are defined. The definition depends on who is requesting, who is requested and if the users are friends or not.

Requesting user (logged in user) Requested user Are friends Access type Notes
NULL NULL
ACCESS_PUBLIC Public, guest access, No logged in user. No requested (target) user parameter. This type of access can be granted to plugins which are not user specific, e.g “list of 10 newest users”.
NULL John
ACCESS_NOBODY Public, guest access, no logged in user. Public, but user specific plugins.
Bill John NO ACCESS_OTHER Bill is logged in, but he is not a friend with John
Bill John YES ACCESS_FRIEND  
John John | NULL
Access granted by default. If requested user is not set, and we are logged in, then requestedUser = requestingUser – e.g. we are seeing our own profile