All Data Structures Functions Variables Pages
Static Public Member Functions
UserAccessUtil Class Reference

Static Public Member Functions

static resolveCanCurrentUserAccessAction ($userId)
 
static resolveCanCurrentUserAccessRootUser (User $user, $renderAccessViewOnFailure=true)
 
static resolveAccessingASystemUser ($user, $renderAccessViewOnFailure=true)
 
static resolveCanCurrentUserAccessAndManageUsers (User $user, $renderAccessViewOnFailure=true)
 
static canCurrentUserViewALinkRequiringAccessAndManageRights (User $user)
 
static doesCurrentUserHaveAccessAndManageRights ()
 

Detailed Description

Definition at line 37 of file UserAccessUtil.php.

Member Function Documentation

static resolveCanCurrentUserAccessAction (   $userId)
static
Parameters
int$userId

Definition at line 42 of file UserAccessUtil.php.

static canCurrentUserViewALinkRequiringAccessAndManageRights ( User  $user)
static
See Also
ActionBarForUserEditAndDetailsView, most pill box links are only available to a user viewing the profile under certain conditions.
Parameters
User$user
Returns
boolean if the current user can view the edit type links or not

Definition at line 125 of file UserAccessUtil.php.


The documentation for this class was generated from the following file:
Generated on Sat Mar 28 2020 07:11:22