ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilOrgUnitPositionAndRBACAccessHandler Interface Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

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

Public Member Functions

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

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning 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 24 of file class.ilOrgUnitPositionAndRBACAccessHandler.php.

Member Function Documentation

◆ checkRbacOrPositionPermissionAccess()

ilOrgUnitPositionAndRBACAccessHandler::checkRbacOrPositionPermissionAccess ( string  $rbac_perm,
string  $pos_perm,
int  $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.

Referenced by ILIAS\Survey\Access\AccessManager\checkRbacOrPositionPermission(), and ilObjSurveyGUI\checkRbacOrPositionPermission().

+ Here is the caller graph for this function:

◆ filterUserIdsByRbacOrPositionOfCurrentUser()

ilOrgUnitPositionAndRBACAccessHandler::filterUserIdsByRbacOrPositionOfCurrentUser ( string  $rbac_perm,
string  $pos_perm,
int  $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 ilSessionOverviewGUI\exportCSV(), ilExerciseManagementGUI\showParticipantObject(), and ilIndividualAssessmentMembers\withAccessHandling().

+ Here is the caller graph for this function:

◆ hasUserRBACorAnyPositionAccess()

ilOrgUnitPositionAndRBACAccessHandler::hasUserRBACorAnyPositionAccess ( string  $rbac_perm,
int  $ref_id 
)

Implemented in ilAccess, and ilOrgUnitPositionAccess.


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