24 include_once(
"classes/class.ilObjectAccess.php");
50 public function _checkAccess($a_cmd, $a_permission, $a_ref_id, $a_obj_id, $a_user_id =
"")
52 global $ilUser,
$lng, $rbacsystem, $ilAccess, $ilias;
56 $a_user_id = $ilUser->getId();
59 switch ($a_permission)
62 include_once
'./Modules/RemoteCourse/classes/class.ilObjRemoteCourse.php';
64 $tutor = $rbacsystem->checkAccessOfUser($a_user_id,
'write',$a_ref_id);
70 if(!$tutor and !$active)
77 $tutor = $rbacsystem->checkAccessOfUser($a_user_id,
'write',$a_ref_id);
82 include_once
'Modules/RemoteCourse/classes/class.ilObjRemoteCourse.php';
112 array(
"permission" =>
"read",
"cmd" =>
"show",
"lang_var" =>
"info",
114 array(
"permission" =>
"write",
"cmd" =>
"edit",
"lang_var" =>
"edit")