40 'permission' =>
'read',
54 return ($DIC->access()->checkAccess(
'write',
'', $ref_id)
55 || $DIC->access()->checkAccess(
'view_learning_progress',
'', $ref_id))
56 && $DIC->access()->checkAccess(
'read',
'', $ref_id);
63 return $DIC->access()->checkAccess(
'write',
'', $ref_id);
70 return $DIC->access()->checkAccess(
'write',
'', $ref_id);
77 return $DIC->access()->checkAccess(
'write',
'', $ref_id);
84 return $DIC->access()->checkAccess(
'write',
'', $ref_id);
91 return ($DIC->access()->checkAccess(
'write',
'', $ref_id)
92 || $DIC->access()->checkAccess(
'view_learning_progress_rec',
'', $ref_id))
93 && $DIC->access()->checkAccess(
'read',
'', $ref_id);
101 && $DIC->access()->checkAccess(
'cat_administrate_users',
'', $ref_id);
109 if ($DIC->access()->checkAccess(
'view_learning_progress',
'', $ref_id)
115 if ($DIC->access()->checkAccess(
'view_learning_progress',
'', $ref_id)
122 if ($DIC->access()->checkAccess(
'view_learning_progress_rec',
'', $ref_id)
129 if ($DIC->access()->checkAccess(
'view_learning_progress_rec',
'', $ref_id)
143 $t_arr = explode(
'_', $a_target);
144 if ($t_arr[0] !==
'orgu' || ((
int) $t_arr[1]) <= 0) {
147 if ($DIC->access()->checkAccess(
'read',
'', $t_arr[1])) {
static _checkAccessStaffRec(int $ref_id)
static _checkAccessSettings(int $ref_id)
static _checkAccessExport(int $ref_id)
static _checkAccessAdministrateUsers(int $ref_id)
static _getCommands()
get commands this method returns an array of all possible commands/permission combinations example: $...
static _checkAccessTypes(int $ref_id)
static _checkAccessStaff(int $ref_id)
static _checkAccessToUserLearningProgress(int $ref_id, int $usr_id)
static _checkAccessPositions(int $ref_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static _checkGoto(string $a_target)