24 include_once(
"classes/class.ilObjectAccess.php");
53 $commands[] = array(
"permission" =>
"read",
"cmd" =>
"render",
"lang_var" =>
"show",
"default" =>
true);
54 $commands[] = array(
"permission" =>
"write",
"cmd" =>
"edit",
"lang_var" =>
"edit");
66 $t_arr = explode(
"_", $a_target);
68 if ($t_arr[0] !=
"book" || ((
int) $t_arr[1]) <= 0)
73 if ($ilAccess->checkAccess(
"read",
"", $t_arr[1]))
80 function _checkAccess($a_cmd, $a_permission, $a_ref_id, $a_obj_id, $a_user_id =
"")
82 global $ilUser, $rbacsystem;
86 $a_user_id = $ilUser->getId();
95 if($a_permission ==
"visible" && !$rbacsystem->checkAccessOfUser($a_user_id,
'write',$a_ref_id))
97 include_once
"Modules/BookingManager/classes/class.ilObjBookingPool.php";
99 if($pool->isOffline())