|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilAccessHandler. More...
Inheritance diagram for ilAccess:
Collaboration diagram for ilAccess:Public Member Functions | ||||||||||||||||||||||
| __construct () | ||||||||||||||||||||||
| storeAccessResult ($a_permission, $a_cmd, $a_ref_id, $a_access_granted, $a_user_id="", $a_info="") | ||||||||||||||||||||||
store access result@access private
| ||||||||||||||||||||||
| setPreventCachingLastResult ($a_val) | ||||||||||||||||||||||
Set prevent caching last result.
| ||||||||||||||||||||||
| getPreventCachingLastResult () | ||||||||||||||||||||||
Get prevent caching last result.
| ||||||||||||||||||||||
| getStoredAccessResult ($a_permission, $a_cmd, $a_ref_id, $a_user_id="") | ||||||||||||||||||||||
get stored access result@access private
| ||||||||||||||||||||||
| storeCache () | ||||||||||||||||||||||
| readCache ($a_secs=0) | ||||||||||||||||||||||
| getResults () | ||||||||||||||||||||||
| setResults ($a_results) | ||||||||||||||||||||||
| addInfoItem ($a_type, $a_text, $a_data="") | ||||||||||||||||||||||
| add an info item to current info object More... | ||||||||||||||||||||||
| checkAccess ($a_permission, $a_cmd, $a_ref_id, $a_type="", $a_obj_id="", $a_tree_id="") | ||||||||||||||||||||||
check access for an object (provide $a_type and $a_obj_id if available for better performance)
| ||||||||||||||||||||||
| checkAccessOfUser ($a_user_id, $a_permission, $a_cmd, $a_ref_id, $a_type="", $a_obj_id="", $a_tree_id="") | ||||||||||||||||||||||
check access for an object (provide $a_type and $a_obj_id if available for better performance)
| ||||||||||||||||||||||
| getInfo () | ||||||||||||||||||||||
| get last info object More... | ||||||||||||||||||||||
| getResultLast () | ||||||||||||||||||||||
| get last info object More... | ||||||||||||||||||||||
| getResultAll ($a_ref_id="") | ||||||||||||||||||||||
| doCacheCheck ($a_permission, $a_cmd, $a_ref_id, $a_user_id) | ||||||||||||||||||||||
look if result for current query is already in cache
| ||||||||||||||||||||||
| doTreeCheck ($a_permission, $a_cmd, $a_ref_id, $a_user_id) | ||||||||||||||||||||||
check if object is in tree and not deleted
| ||||||||||||||||||||||
| doRBACCheck ($a_permission, $a_cmd, $a_ref_id, $a_user_id, $a_type) | ||||||||||||||||||||||
rbac check for current object -> type should be used for create permission
| ||||||||||||||||||||||
| doPathCheck ($a_permission, $a_cmd, $a_ref_id, $a_user_id, $a_all=false) | ||||||||||||||||||||||
check read permission for all parents
| ||||||||||||||||||||||
| doConditionCheck ($a_permission, $a_cmd, $a_ref_id, $a_user_id, $a_obj_id, $a_type) | ||||||||||||||||||||||
condition check (currently only implemented for read permission)
| ||||||||||||||||||||||
| clear () | ||||||||||||||||||||||
| enable ($a_str, $a_bool) | ||||||||||||||||||||||
| ||||||||||||||||||||||
| filterUserIdsForCurrentUsersPositionsAndPermission (array $user_ids, $permission) | ||||||||||||||||||||||
ilOrgUnitAccessException when a unknown permission is used. See the list of available permissions in interface ilOrgUnitPositionAccessHandler
| ||||||||||||||||||||||
| filterUserIdsForUsersPositionsAndPermission (array $user_ids, $for_user_id, $permission) | ||||||||||||||||||||||
ilOrgUnitAccessException when a unknown permission is used. See the list of available permissions in interface ilOrgUnitPositionAccessHandler
| ||||||||||||||||||||||
| isCurrentUserBasedOnPositionsAllowedTo ($permission, array $on_user_ids) | ||||||||||||||||||||||
| ||||||||||||||||||||||
| isUserBasedOnPositionsAllowedTo ($which_user_id, $permission, array $on_user_ids) | ||||||||||||||||||||||
| ||||||||||||||||||||||
| checkPositionAccess ($pos_perm, $ref_id) | ||||||||||||||||||||||
| ||||||||||||||||||||||
| checkRbacOrPositionPermissionAccess ($rbac_perm, $pos_perm, $ref_id) | ||||||||||||||||||||||
| ||||||||||||||||||||||
| filterUserIdsByPositionOfCurrentUser ($pos_perm, $ref_id, array $user_ids) | ||||||||||||||||||||||
| ||||||||||||||||||||||
| filterUserIdsByPositionOfUser ($user_id, $pos_perm, $ref_id, array $user_ids) | ||||||||||||||||||||||
| ||||||||||||||||||||||
| filterUserIdsByRbacOrPositionOfCurrentUser ($rbac_perm, $pos_perm, $ref_id, array $user_ids) | ||||||||||||||||||||||
| ||||||||||||||||||||||
| hasCurrentUserAnyPositionAccess ($ref_id) | ||||||||||||||||||||||
| ||||||||||||||||||||||
| hasUserRBACorAnyPositionAccess ($rbac_perm, $ref_id) | ||||||||||||||||||||||
| ||||||||||||||||||||||
Public Member Functions inherited from ilRBACAccessHandler | ||||||||||||||||||||||
| storeAccessResult ($a_permission, $a_cmd, $a_ref_id, $a_access_granted, $a_user_id=null, $a_info="") | ||||||||||||||||||||||
| store access result More... | ||||||||||||||||||||||
| setPreventCachingLastResult ($a_val) | ||||||||||||||||||||||
| Set prevent caching last result. More... | ||||||||||||||||||||||
| getPreventCachingLastResult () | ||||||||||||||||||||||
| Get prevent caching last result. More... | ||||||||||||||||||||||
| getStoredAccessResult ($a_permission, $a_cmd, $a_ref_id, $a_user_id="") | ||||||||||||||||||||||
| get stored access result More... | ||||||||||||||||||||||
| storeCache () | ||||||||||||||||||||||
| readCache ($a_secs=0) | ||||||||||||||||||||||
| getResults () | ||||||||||||||||||||||
| setResults ($a_results) | ||||||||||||||||||||||
| addInfoItem ($a_type, $a_text, $a_data="") | ||||||||||||||||||||||
| add an info item to current info object More... | ||||||||||||||||||||||
| checkAccess ($a_permission, $a_cmd, $a_ref_id, $a_type="", $a_obj_id=null, $a_tree_id=null) | ||||||||||||||||||||||
| check access for an object (provide $a_type and $a_obj_id if available for better performance) More... | ||||||||||||||||||||||
| checkAccessOfUser ($a_user_id, $a_permission, $a_cmd, $a_ref_id, $a_type="", $a_obj_id=null, $a_tree_id=null) | ||||||||||||||||||||||
| check access for an object (provide $a_type and $a_obj_id if available for better performance) More... | ||||||||||||||||||||||
| getInfo () | ||||||||||||||||||||||
| get last info object More... | ||||||||||||||||||||||
| getResultLast () | ||||||||||||||||||||||
| get last info object More... | ||||||||||||||||||||||
| getResultAll ($a_ref_id="") | ||||||||||||||||||||||
| doCacheCheck ($a_permission, $a_cmd, $a_ref_id, $a_user_id) | ||||||||||||||||||||||
| look if result for current query is already in cache More... | ||||||||||||||||||||||
| doTreeCheck ($a_permission, $a_cmd, $a_ref_id, $a_user_id) | ||||||||||||||||||||||
| check if object is in tree and not deleted More... | ||||||||||||||||||||||
| doRBACCheck ($a_permission, $a_cmd, $a_ref_id, $a_user_id, $a_type) | ||||||||||||||||||||||
| rbac check for current object -> type should be used for create permission More... | ||||||||||||||||||||||
| doPathCheck ($a_permission, $a_cmd, $a_ref_id, $a_user_id, $a_all=false) | ||||||||||||||||||||||
| check read permission for all parents More... | ||||||||||||||||||||||
| doActivationCheck ($a_permission, $a_cmd, $a_ref_id, $a_user_id, $a_obj_id, $a_type) | ||||||||||||||||||||||
| check for activation and centralized offline status. More... | ||||||||||||||||||||||
| doConditionCheck ($a_permission, $a_cmd, $a_ref_id, $a_user_id, $a_obj_id, $a_type) | ||||||||||||||||||||||
| condition check (currently only implemented for read permission) More... | ||||||||||||||||||||||
| doStatusCheck ($a_permission, $a_cmd, $a_ref_id, $a_user_id, $a_obj_id, $a_type) | ||||||||||||||||||||||
| object type specific check More... | ||||||||||||||||||||||
| clear () | ||||||||||||||||||||||
| enable ($a_str, $a_bool) | ||||||||||||||||||||||
| filterUserIdsForCurrentUsersPositionsAndPermission (array $user_ids, $permission) | ||||||||||||||||||||||
| filterUserIdsForUsersPositionsAndPermission (array $user_ids, $for_user_id, $permission) | ||||||||||||||||||||||
| isCurrentUserBasedOnPositionsAllowedTo ($permission, array $on_user_ids) | ||||||||||||||||||||||
| isUserBasedOnPositionsAllowedTo ($which_user_id, $permission, array $on_user_ids) | ||||||||||||||||||||||
| checkPositionAccess ($pos_perm, $ref_id) | ||||||||||||||||||||||
| hasCurrentUserAnyPositionAccess ($ref_id) | ||||||||||||||||||||||
| filterUserIdsByPositionOfCurrentUser ($pos_perm, $ref_id, array $user_ids) | ||||||||||||||||||||||
| filterUserIdsByPositionOfUser ($user_id, $pos_perm, $ref_id, array $user_ids) | ||||||||||||||||||||||
| checkRbacOrPositionPermissionAccess ($rbac_perm, $pos_perm, $ref_id) | ||||||||||||||||||||||
| filterUserIdsByRbacOrPositionOfCurrentUser ($rbac_perm, $pos_perm, $ref_id, array $user_ids) | ||||||||||||||||||||||
| hasUserRBACorAnyPositionAccess ($rbac_perm, $ref_id) | ||||||||||||||||||||||
Protected Attributes | |
| $ilOrgUnitPositionAccess | |
| $obj_tree_cache | |
| $obj_type_cache | |
| $obj_id_cache | |
| $status | |
| $path | |
| $condition | |
| $tree | |
| $rbac | |
| $cache | |
| $current_info | |
| $results | |
| $rbacsystem | |
| $stored_rbac_access = array() | |
| $ac_logger | |
Class ilAccessHandler.
Checks access for ILIAS objects
Definition at line 13 of file class.ilAccess.php.
| ilAccess::__construct | ( | ) |
Definition at line 79 of file class.ilAccess.php.
References $DIC, $rbacsystem, and ilLoggerFactory\getLogger().
Here is the call graph for this function:| ilAccess::addInfoItem | ( | $a_type, | |
| $a_text, | |||
$a_data = "" |
|||
| ) |
add an info item to current info object
Implements ilRBACAccessHandler.
Definition at line 238 of file class.ilAccess.php.
| ilAccess::checkAccess | ( | $a_permission, | |
| $a_cmd, | |||
| $a_ref_id, | |||
$a_type = "", |
|||
$a_obj_id = "", |
|||
$a_tree_id = "" |
|||
| ) |
check access for an object (provide $a_type and $a_obj_id if available for better performance)
| string | $a_permission | |
| string | $a_cmd | |
| int | $a_ref_id | |
| string | $a_type | (optional) |
| int | $a_obj_id | (optional) |
| int | $a_tree_id | (optional) |
Implements ilRBACAccessHandler.
Definition at line 246 of file class.ilAccess.php.
References $DIC, $ilUser, and checkAccessOfUser().
Referenced by ilLocalUserGUI\__checkGlobalRoles(), ilLocalUserGUI\__showRolesTable(), ilOrgUnitStaffGUI\addOtherRoles(), ilOrgUnitStaffGUI\addStaff(), ilLocalUserGUI\assignRoles(), ilLocalUserGUI\assignSave(), ilLocalUserGUI\checkPermission(), ilOrgUnitSimpleImportGUI\chooseImport(), ilOrgUnitStaffGUI\confirmRemoveUser(), ilObjOrgUnitGUI\editAdvancedSettings(), ilObjOrgUnitGUI\editSettings(), ilObjOrgUnitGUI\executeCommand(), ilOrgUnitStaffGUI\fromEmployeeToSuperior(), ilOrgUnitStaffGUI\fromSuperiorToEmployee(), ilObjStudyProgrammeAdminGUI\initFormSettings(), ilObjStudyProgrammeReferenceListGUI\initItem(), ilOrgUnitRecursiveUserAssignmentTableGUI\mayViewLPIn(), ilOrgUnitStaffGUI\removeFromEmployees(), ilOrgUnitStaffGUI\removeFromRole(), ilOrgUnitStaffGUI\removeFromSuperiors(), ilOrgUnitStaffGUI\setTabs(), ilOrgUnitStaffGUI\showOtherRoles(), ilOrgUnitStaffGUI\showStaff(), ilObjOrgUnitGUI\updateAdvancedSettings(), and ilObjOrgUnitGUI\updateSettings().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAccess::checkAccessOfUser | ( | $a_user_id, | |
| $a_permission, | |||
| $a_cmd, | |||
| $a_ref_id, | |||
$a_type = "", |
|||
$a_obj_id = "", |
|||
$a_tree_id = "" |
|||
| ) |
check access for an object (provide $a_type and $a_obj_id if available for better performance)
| integer | $a_user_id | |
| string | $a_permission | |
| string | $a_cmd | |
| int | $a_ref_id | |
| string | $a_type | (optional) |
| int | $a_obj_id | (optional) |
| int | $a_tree_id | (optional) |
Implements ilRBACAccessHandler.
Definition at line 258 of file class.ilAccess.php.
References $DIC, $ilBench, $lng, ilObject\_lookupObjId(), ilObject\_lookupType(), ilRBACAccessHandler\doActivationCheck(), doCacheCheck(), doConditionCheck(), doPathCheck(), doRBACCheck(), ilRBACAccessHandler\doStatusCheck(), doTreeCheck(), IL_NO_PERMISSION, setPreventCachingLastResult(), and storeAccessResult().
Referenced by checkAccess(), doConditionCheck(), doPathCheck(), and ilSearchResult\filter().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAccess::checkPositionAccess | ( | $pos_perm, | |
| $ref_id | |||
| ) |
| string | $pos_perm | |
| int | $ref_id | Reference-ID of the desired Object in the tree |
Implements ilOrgUnitPositionAccessHandler.
Definition at line 852 of file class.ilAccess.php.
References ilOrgUnitPositionAccess\checkPositionAccess().
Here is the call graph for this function:| ilAccess::checkRbacOrPositionPermissionAccess | ( | $rbac_perm, | |
| $pos_perm, | |||
| $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 |
Implements ilOrgUnitPositionAndRBACAccessHandler.
Definition at line 860 of file class.ilAccess.php.
References ilOrgUnitPositionAccess\checkRbacOrPositionPermissionAccess().
Here is the call graph for this function:| ilAccess::clear | ( | ) |
Implements ilRBACAccessHandler.
Definition at line 796 of file class.ilAccess.php.
| ilAccess::doCacheCheck | ( | $a_permission, | |
| $a_cmd, | |||
| $a_ref_id, | |||
| $a_user_id | |||
| ) |
look if result for current query is already in cache
| string | $a_permission | |
| string | $a_cmd | |
| int | $a_ref_id | |
| int | $a_user_id |
Implements ilRBACAccessHandler.
Definition at line 400 of file class.ilAccess.php.
References $DIC, $ilBench, and getStoredAccessResult().
Referenced by checkAccessOfUser().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAccess::doConditionCheck | ( | $a_permission, | |
| $a_cmd, | |||
| $a_ref_id, | |||
| $a_user_id, | |||
| $a_obj_id, | |||
| $a_type | |||
| ) |
condition check (currently only implemented for read permission)
| string | $a_permission | |
| string | $a_cmd | |
| int | $a_ref_id | |
| int | $a_user_id | |
| int | $a_obj_id | |
| string | $a_type |
Implements ilRBACAccessHandler.
Definition at line 675 of file class.ilAccess.php.
References $condition, $DIC, $ilBench, $lng, ilConditionHandler\_checkAllConditionsOfTarget(), ilObject\_lookupTitle(), checkAccessOfUser(), and IL_MISSING_PRECONDITION.
Referenced by checkAccessOfUser().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAccess::doPathCheck | ( | $a_permission, | |
| $a_cmd, | |||
| $a_ref_id, | |||
| $a_user_id, | |||
$a_all = false |
|||
| ) |
check read permission for all parents
| string | $a_permission | |
| string | $a_cmd | |
| int | $a_ref_id | |
| int | $a_user_id | |
| bool | $a_all |
Implements ilRBACAccessHandler.
Definition at line 533 of file class.ilAccess.php.
References $DIC, $ilBench, $lng, $path, $tree, checkAccessOfUser(), and IL_NO_PARENT_ACCESS.
Referenced by checkAccessOfUser().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAccess::doRBACCheck | ( | $a_permission, | |
| $a_cmd, | |||
| $a_ref_id, | |||
| $a_user_id, | |||
| $a_type | |||
| ) |
rbac check for current object -> type should be used for create permission
| string | $a_permission | |
| string | $a_cmd | |
| int | $a_ref_id | |
| int | $a_user_id | |
| string | $a_type |
Implements ilRBACAccessHandler.
Definition at line 486 of file class.ilAccess.php.
References $DIC, $ilBench, $ilErr, $lng, $message, IL_NO_PERMISSION, and storeAccessResult().
Referenced by checkAccessOfUser().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAccess::doTreeCheck | ( | $a_permission, | |
| $a_cmd, | |||
| $a_ref_id, | |||
| $a_user_id | |||
| ) |
check if object is in tree and not deleted
| string | $a_permission | |
| string | $a_cmd | |
| int | $a_ref_id | |
| int | $a_user_id |
Implements ilRBACAccessHandler.
Definition at line 427 of file class.ilAccess.php.
References $DIC, $ilBench, $lng, $tree, IL_DELETED, IL_NO_PERMISSION, and storeAccessResult().
Referenced by checkAccessOfUser().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAccess::enable | ( | $a_str, | |
| $a_bool | |||
| ) |
| $a_str | |
| $a_bool |
Implements ilRBACAccessHandler.
Definition at line 806 of file class.ilAccess.php.
| ilAccess::filterUserIdsByPositionOfCurrentUser | ( | $pos_perm, | |
| $ref_id, | |||
| array | $user_ids | ||
| ) |
| string | $pos_perm | |
| int | $ref_id | |
| int[] | $user_ids |
Implements ilOrgUnitPositionAccessHandler.
Definition at line 868 of file class.ilAccess.php.
References ilOrgUnitPositionAccess\filterUserIdsByPositionOfCurrentUser().
Here is the call graph for this function:| ilAccess::filterUserIdsByPositionOfUser | ( | $user_id, | |
| $pos_perm, | |||
| $ref_id, | |||
| array | $user_ids | ||
| ) |
| int | $user_id | |
| string | $pos_perm | |
| int | $ref_id | |
| int[] | $user_ids |
Implements ilOrgUnitPositionAccessHandler.
Definition at line 876 of file class.ilAccess.php.
References ilOrgUnitPositionAccess\filterUserIdsByPositionOfUser().
Here is the call graph for this function:| ilAccess::filterUserIdsByRbacOrPositionOfCurrentUser | ( | $rbac_perm, | |
| $pos_perm, | |||
| $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 |
Implements ilOrgUnitPositionAndRBACAccessHandler.
Definition at line 884 of file class.ilAccess.php.
References ilOrgUnitPositionAccess\filterUserIdsByRbacOrPositionOfCurrentUser().
Here is the call graph for this function:| ilAccess::filterUserIdsForCurrentUsersPositionsAndPermission | ( | array | $user_ids, |
| $permission | |||
| ) |
| int[] | $user_ids | List of ILIAS-User-IDs which shall be filtered |
| string | $permission |
ilOrgUnitAccessException when a unknown permission is used. See the list of available permissions in interface ilOrgUnitPositionAccessHandler
Implements ilOrgUnitPositionAccessHandler.
Definition at line 820 of file class.ilAccess.php.
References ilOrgUnitPositionAccess\filterUserIdsForCurrentUsersPositionsAndPermission().
Here is the call graph for this function:| ilAccess::filterUserIdsForUsersPositionsAndPermission | ( | array | $user_ids, |
| $for_user_id, | |||
| $permission | |||
| ) |
| int[] | $user_ids | List of ILIAS-User-IDs which shall be filtered |
| int | $for_user_id | |
| string | $permission |
ilOrgUnitAccessException when a unknown permission is used. See the list of available permissions in interface ilOrgUnitPositionAccessHandler
Implements ilOrgUnitPositionAccessHandler.
Definition at line 828 of file class.ilAccess.php.
References ilOrgUnitPositionAccess\filterUserIdsForUsersPositionsAndPermission().
Here is the call graph for this function:| ilAccess::getInfo | ( | ) |
get last info object
Implements ilRBACAccessHandler.
Definition at line 370 of file class.ilAccess.php.
| ilAccess::getPreventCachingLastResult | ( | ) |
Get prevent caching last result.
Implements ilRBACAccessHandler.
Definition at line 150 of file class.ilAccess.php.
Referenced by storeAccessResult().
Here is the caller graph for this function:| ilAccess::getResultAll | ( | $a_ref_id = "" | ) |
Implements ilRBACAccessHandler.
Definition at line 388 of file class.ilAccess.php.
References $results.
| ilAccess::getResultLast | ( | ) |
get last info object
Implements ilRBACAccessHandler.
Definition at line 381 of file class.ilAccess.php.
| ilAccess::getResults | ( | ) |
Implements ilRBACAccessHandler.
Definition at line 223 of file class.ilAccess.php.
References $results.
| ilAccess::getStoredAccessResult | ( | $a_permission, | |
| $a_cmd, | |||
| $a_ref_id, | |||
$a_user_id = "" |
|||
| ) |
get stored access result@access private
| string | $a_permission | permission |
| string | $a_cmd | command string |
| int | $a_ref_id | reference id |
| int | $a_user_id | user id (if no id passed, current user id) |
Implements ilRBACAccessHandler.
Definition at line 158 of file class.ilAccess.php.
Referenced by doCacheCheck().
Here is the caller graph for this function:| ilAccess::hasCurrentUserAnyPositionAccess | ( | $ref_id | ) |
| int | $ref_id |
Implements ilOrgUnitPositionAccessHandler.
Definition at line 892 of file class.ilAccess.php.
References ilOrgUnitPositionAccess\hasCurrentUserAnyPositionAccess().
Here is the call graph for this function:| ilAccess::hasUserRBACorAnyPositionAccess | ( | $rbac_perm, | |
| $ref_id | |||
| ) |
| string | $rbac_perm | |
| int | $ref_id |
Implements ilOrgUnitPositionAndRBACAccessHandler.
Definition at line 900 of file class.ilAccess.php.
References ilOrgUnitPositionAccess\hasUserRBACorAnyPositionAccess().
Here is the call graph for this function:| ilAccess::isCurrentUserBasedOnPositionsAllowedTo | ( | $permission, | |
| array | $on_user_ids | ||
| ) |
| string | $permission | |
| int[] | $on_user_ids | List of ILIAS-User-IDs |
Implements ilOrgUnitPositionAccessHandler.
Definition at line 836 of file class.ilAccess.php.
References ilOrgUnitPositionAccess\isCurrentUserBasedOnPositionsAllowedTo().
Here is the call graph for this function:| ilAccess::isUserBasedOnPositionsAllowedTo | ( | $which_user_id, | |
| $permission, | |||
| array | $on_user_ids | ||
| ) |
| int | $which_user_id | Permission check for this ILIAS-User-ID |
| string | $permission | |
| int[] | $on_user_ids | List of ILIAS-User-IDs |
Implements ilOrgUnitPositionAccessHandler.
Definition at line 844 of file class.ilAccess.php.
References ilOrgUnitPositionAccess\isUserBasedOnPositionsAllowedTo().
Here is the call graph for this function:| ilAccess::readCache | ( | $a_secs = 0 | ) |
Implements ilRBACAccessHandler.
Definition at line 200 of file class.ilAccess.php.
References $DIC, $ilDB, $ilUser, $query, and ilDBConstants\FETCHMODE_ASSOC.
| ilAccess::setPreventCachingLastResult | ( | $a_val | ) |
Set prevent caching last result.
| boolean | true if last result should not be cached |
Implements ilRBACAccessHandler.
Definition at line 142 of file class.ilAccess.php.
Referenced by checkAccessOfUser().
Here is the caller graph for this function:| ilAccess::setResults | ( | $a_results | ) |
Implements ilRBACAccessHandler.
Definition at line 230 of file class.ilAccess.php.
| ilAccess::storeAccessResult | ( | $a_permission, | |
| $a_cmd, | |||
| $a_ref_id, | |||
| $a_access_granted, | |||
$a_user_id = "", |
|||
$a_info = "" |
|||
| ) |
store access result@access private
| string | $a_permission | permission |
| string | $a_cmd | command string |
| int | $a_ref_id | reference id |
| boolean | $a_access_granted | true if access is granted |
| int | $a_user_id | user id (if no id passed, current user id) |
Implements ilRBACAccessHandler.
Definition at line 109 of file class.ilAccess.php.
References $current_info, $DIC, $ilUser, and getPreventCachingLastResult().
Referenced by checkAccessOfUser(), doRBACCheck(), and doTreeCheck().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAccess::storeCache | ( | ) |
Implements ilRBACAccessHandler.
Definition at line 181 of file class.ilAccess.php.
|
protected |
Definition at line 77 of file class.ilAccess.php.
|
protected |
Definition at line 55 of file class.ilAccess.php.
|
protected |
Definition at line 43 of file class.ilAccess.php.
Referenced by doConditionCheck().
|
protected |
Definition at line 59 of file class.ilAccess.php.
Referenced by storeAccessResult().
|
protected |
Definition at line 19 of file class.ilAccess.php.
|
protected |
Definition at line 31 of file class.ilAccess.php.
|
protected |
Definition at line 23 of file class.ilAccess.php.
|
protected |
Definition at line 27 of file class.ilAccess.php.
|
protected |
Definition at line 39 of file class.ilAccess.php.
Referenced by doPathCheck().
|
protected |
Definition at line 51 of file class.ilAccess.php.
|
protected |
Definition at line 67 of file class.ilAccess.php.
Referenced by __construct().
|
protected |
Definition at line 63 of file class.ilAccess.php.
Referenced by getResultAll(), and getResults().
|
protected |
Definition at line 35 of file class.ilAccess.php.
|
protected |
Definition at line 71 of file class.ilAccess.php.
|
protected |
Definition at line 47 of file class.ilAccess.php.
Referenced by doPathCheck(), and doTreeCheck().