46 return $this->
access->checkAccessOfUser($a_usr_id,
"visible", $this->ref_id);
54 return $this->
access->checkAccessOfUser($a_usr_id,
"read", $this->ref_id);
62 return $this->
access->checkAccessOfUser($a_usr_id,
"write", $this->ref_id);
70 return $this->
access->checkAccessOfUser($a_usr_id,
"edit_permission", $this->ref_id);
78 return $this->
access->checkAccessOfUser($a_usr_id,
"read_comp", $this->ref_id);
86 return $this->
access->checkAccessOfUser($a_usr_id,
"manage_comp", $this->ref_id);
94 return $this->
access->checkAccessOfUser($a_usr_id,
"manage_comp_temp", $this->ref_id);
102 if ($this->obj_type ==
"crs" || $this->obj_type ==
"grp") {
103 return $this->
access->checkAccessOfUser($a_usr_id,
"read", $this->ref_id);
105 return $this->
access->checkAccessOfUser($a_usr_id,
"read_profiles", $this->ref_id);
110 if ($a_usr_id == 0) {
113 if ($this->obj_type ==
"crs" || $this->obj_type ==
"grp") {
114 return $this->
access->checkAccessOfUser($a_usr_id,
"write", $this->ref_id);
116 return $this->
access->checkAccessOfUser($a_usr_id,
"manage_profiles", $this->ref_id);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(\ilRbacSystem $access, int $ref_id, int $usr_id)
hasReadProfilesPermission(int $a_usr_id=0)
hasManageCompetencesPermission(int $a_usr_id=0)
hasManageCompetenceTemplatesPermission(int $a_usr_id=0)
hasReadTreePermission(int $a_usr_id=0)
hasVisibleTreePermission(int $a_usr_id=0)
hasReadCompetencesPermission(int $a_usr_id=0)
static _lookupType(int $id, bool $reference=false)
hasEditTreeSettingsPermission(int $a_usr_id=0)
hasManageProfilesPermission(int $a_usr_id=0)
hasEditTreePermissionsPermission(int $a_usr_id=0)