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:
 All Data Structures Functions Variables
Generated on Wed Dec 11 07:11:13 2019