3 require_once(
'./Services/Object/classes/class.ilObjectAccess.php');
4 require_once(
'./Services/User/classes/class.ilUserAccountSettings.php');
29 $commands[] = array(
'permission' =>
'read',
'cmd' =>
'view',
'lang_var' =>
'show',
'default' =>
true );
46 if (($ilAccess->checkAccess(
"write",
"",
$ref_id)
47 OR $ilAccess->checkAccess(
"view_learning_progress",
"",
$ref_id))
48 AND $ilAccess->checkAccess(
"read",
"",
$ref_id)) {
63 if (($ilAccess->checkAccess(
"write",
"",
$ref_id)
64 OR $ilAccess->checkAccess(
"view_learning_progress_rec",
"",
$ref_id))
65 AND $ilAccess->checkAccess(
"read",
"",
$ref_id)) {
81 $ilAccess->checkAccess(
'cat_administrate_users',
"",
$ref_id)) {
98 if ($ilAccess->checkAccess(
"view_learning_progress",
"",
$ref_id)
103 if ($ilAccess->checkAccess(
"view_learning_progress",
"",
$ref_id)
109 if ($ilAccess->checkAccess(
"view_learning_progress_rec",
"",
$ref_id)
115 if ($ilAccess->checkAccess(
"view_learning_progress_rec",
"",
$ref_id)
130 $t_arr = explode(
'_', $a_target);
131 if ($t_arr[0] !=
'orgu' || ((
int)$t_arr[1]) <= 0) {
134 if ($ilAccess->checkAccess(
'read',
'', $t_arr[1])) {