24 include_once(
"Services/Object/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/RemoteWiki/classes/class.ilObjRemoteWiki.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/RemoteWiki/classes/class.ilObjRemoteWiki.php';
111 array(
"permission" =>
"read",
"cmd" =>
"show",
"lang_var" =>
"info",
113 array(
"permission" =>
"write",
"cmd" =>
"edit",
"lang_var" =>
"edit")