ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilOrgUnitPositionAndRBACAccessHandler Interface Reference

Interface ilOrgUnitPositionAndRBACAccessHandler. More...

+ Inheritance diagram for ilOrgUnitPositionAndRBACAccessHandler:
+ Collaboration diagram for ilOrgUnitPositionAndRBACAccessHandler:

Public Member Functions

 checkRbacOrPositionPermissionAccess ($rbac_perm, $pos_perm, $ref_id)
 
 filterUserIdsByRbacOrPositionOfCurrentUser ($rbac_perm, $pos_perm, $ref_id, array $user_ids)
 
 hasUserRBACorAnyPositionAccess ($rbac_perm, $ref_id)
 

Detailed Description

Interface ilOrgUnitPositionAndRBACAccessHandler.

Provides access checks due to a users OrgUnit-Positions in Combination with RBAC

Author
Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch

Definition at line 10 of file class.ilOrgUnitPositionAndRBACAccessHandler.php.

Member Function Documentation

◆ checkRbacOrPositionPermissionAccess()

ilOrgUnitPositionAndRBACAccessHandler::checkRbacOrPositionPermissionAccess (   $rbac_perm,
  $pos_perm,
  $ref_id 
)
Parameters
string$rbac_perm
string$pos_permSee the list of available permissions in interface ilOrgUnitPositionAccessHandler
int$ref_idReference-ID of the desired Object in the tree
Returns
bool

Implemented in ilAccess, and ilOrgUnitPositionAccess.

◆ filterUserIdsByRbacOrPositionOfCurrentUser()

ilOrgUnitPositionAndRBACAccessHandler::filterUserIdsByRbacOrPositionOfCurrentUser (   $rbac_perm,
  $pos_perm,
  $ref_id,
array  $user_ids 
)
Parameters
string$rbac_perm
string$pos_permSee the list of available permissions in interface ilOrgUnitPositionAccessHandler
int$ref_idReference-ID of the desired Object in the tree
int[]$user_ids
Returns
int[]

Implemented in ilAccess, and ilOrgUnitPositionAccess.

Referenced by ilIndividualAssessmentMembers\withAccessHandling().

+ Here is the caller graph for this function:

◆ hasUserRBACorAnyPositionAccess()

ilOrgUnitPositionAndRBACAccessHandler::hasUserRBACorAnyPositionAccess (   $rbac_perm,
  $ref_id 
)
Parameters
string$rbac_perm
int$ref_id
Returns
bool

Implemented in ilAccess, and ilOrgUnitPositionAccess.


The documentation for this interface was generated from the following file: