5 require_once
'./Services/Object/classes/class.ilObjectAccess.php';
30 public function _checkAccess($cmd, $permission, $ref_id, $a_obj_id, $user_id =
"")
33 $rbacsystem = $DIC[
'rbacsystem'];
36 $ilAccess = $DIC[
'ilAccess'];
53 switch ($permission) {
55 return $rbacsystem->checkAccessOfUser($user_id,
'visible', $ref_id);
59 return $rbacsystem->checkAccessOfUser($user_id,
'write', $ref_id);
_checkAccess($cmd, $permission, $ref_id, $a_obj_id, $user_id="")
checks wether a user may invoke a command or not (this method is called by ilAccessHandler::checkAcce...
const IL_NO_OBJECT_ACCESS
static _checkGoto($target)