6 include_once(
"./Services/Object/classes/class.ilObjectAccess.php");
35 $commands[] = array(
"permission" =>
"read",
"cmd" =>
"render",
"lang_var" =>
"show",
"default" =>
true);
36 $commands[] = array(
"permission" =>
"write",
"cmd" =>
"render",
"lang_var" =>
"edit_content");
37 $commands[] = array(
"permission" =>
"write",
"cmd" =>
"edit",
"lang_var" =>
"settings");
49 $t_arr = explode(
"_", $a_target);
51 if ($t_arr[0] !=
"book" || ((
int) $t_arr[1]) <= 0)
56 if ($ilAccess->checkAccess(
"read",
"", $t_arr[1]))
63 function _checkAccess($a_cmd, $a_permission, $a_ref_id, $a_obj_id, $a_user_id =
"")
69 $a_user_id = $ilUser->getId();
78 if($a_permission ==
"visible" && !$rbacsystem->checkAccessOfUser($a_user_id,
'write',$a_ref_id))
80 include_once
"Modules/BookingManager/classes/class.ilObjBookingPool.php";
82 if($pool->isOffline())