ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
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) | |
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
Definition at line 24 of file class.ilOrgUnitPositionAndRBACAccessHandler.php.
ilOrgUnitPositionAndRBACAccessHandler::checkRbacOrPositionPermissionAccess | ( | string | $rbac_perm, |
string | $pos_perm, | ||
int | $ref_id | ||
) |
string | $rbac_perm | |
string | $pos_perm | See the list of available permissions in interface ilOrgUnitPositionAccessHandler |
int | $ref_id | Reference-ID of the desired Object in the tree |
Implemented in ilAccess, and ilOrgUnitPositionAccess.
Referenced by ILIAS\Survey\Access\AccessManager\checkRbacOrPositionPermission(), and ilObjSurveyGUI\checkRbacOrPositionPermission().
ilOrgUnitPositionAndRBACAccessHandler::filterUserIdsByRbacOrPositionOfCurrentUser | ( | string | $rbac_perm, |
string | $pos_perm, | ||
int | $ref_id, | ||
array | $user_ids | ||
) |
string | $rbac_perm | |
string | $pos_perm | See the list of available permissions in interface ilOrgUnitPositionAccessHandler |
int | $ref_id | Reference-ID of the desired Object in the tree |
int[] | $user_ids |
Implemented in ilAccess, and ilOrgUnitPositionAccess.
Referenced by ilSessionOverviewGUI\exportCSV(), ilExerciseManagementGUI\showParticipantObject(), and ilIndividualAssessmentMembers\withAccessHandling().
ilOrgUnitPositionAndRBACAccessHandler::hasUserRBACorAnyPositionAccess | ( | string | $rbac_perm, |
int | $ref_id | ||
) |
Implemented in ilAccess, and ilOrgUnitPositionAccess.