38 $this->objDefinition =& $objDefinition;
41 $this->lng->loadLanguageModule(
"rbac");
45 $this->gui_obj = $a_gui_obj;
47 $this->roles = array();
58 global $rbacsystem,
$ilErr;
61 if (!$rbacsystem->checkAccess(
"edit_permission",$this->gui_obj->object->getRefId()))
63 $ilErr->raiseError($this->lng->txt(
"permission_denied"),$ilErr->MESSAGE);
66 $next_class = $this->ctrl->getNextClass($this);
71 include_once(
"Services/AccessControl/classes/class.ilObjRoleGUI.php");
73 $this->gui_obj->setBackTarget($this->lng->txt(
"perm_settings"),$this->ctrl->getLinkTarget($this,
"perm"));
74 $ret = $this->ctrl->forwardCommand($this->gui_obj);
77 case 'ildidactictemplategui':
78 $this->ctrl->setReturn($this,
'perm');
79 include_once
'./Services/DidacticTemplate/classes/class.ilDidacticTemplateGUI.php';
81 $this->ctrl->forwardCommand($did);
85 $cmd = $this->ctrl->getCmd();
101 global $rbacreview, $rbacadmin, $rbacsystem;
105 include_once
"Services/AccessControl/classes/class.ilRbacLog.php";
109 foreach($this->roles as $role_id =>
$data)
111 $rbacadmin->revokePermission($this->gui_obj->object->getRefId(),$role_id);
114 if (is_array(
$_POST[
"perm"]))
116 foreach (
$_POST[
"perm"] as $key => $new_role_perms)
118 $rbacadmin->grantPermission($key,$new_role_perms,$this->gui_obj->object->getRefId());
123 $this->gui_obj->object->update();
133 $rolf_data = $rbacreview->getRoleFolderOfObject($this->gui_obj->object->getRefId());
134 $rolf_id = $rolf_data[
"child"];
136 $stop_inherit_roles =
$_POST[
"stop_inherit"] ?
$_POST[
"stop_inherit"] : array();
138 if ($stop_inherit_roles)
144 $rfoldObj = $this->gui_obj->object->createRoleFolder();
147 $rolf_id = $rfoldObj->getRefId();
150 $roles_of_folder = $rbacreview->getRolesOfRoleFolder($rolf_id);
152 foreach ($stop_inherit_roles as $stop_inherit)
155 if (!in_array($stop_inherit,$roles_of_folder))
157 $parentRoles = $rbacreview->getParentRoleIds($rolf_id);
158 $rbacadmin->copyRoleTemplatePermissions($stop_inherit,$parentRoles[$stop_inherit][
"parent"],
159 $rolf_id,$stop_inherit);
160 $rbacadmin->assignRoleToFolder($stop_inherit,$rolf_id,
'n');
165 if ($rolf_id and $rolf_id != ROLE_FOLDER_ID)
168 $linked_roles = $rbacreview->getLinkedRolesOfRoleFolder($rolf_id);
169 $linked_roles_to_remove = array_diff($linked_roles,$stop_inherit_roles);
172 $linked_roles_to_remove = (array) array_intersect(
173 (array) $linked_roles_to_remove,
174 (array) array_keys($this->roles));
177 foreach ($linked_roles_to_remove as $role_id)
179 if ($rbacreview->isProtected($rolf_id,$role_id))
185 $role_obj->setParent($rolf_id);
198 if (!$rbacsystem->checkAccess(
"edit_permission",$this->gui_obj->object->getRefId()))
200 $this->ctrl->redirect($this->gui_obj);
203 $this->ctrl->redirect($this,
'perm');
208 global $rbacreview,$objDefinition;
210 include_once
'./Services/Form/classes/class.ilPropertyFormGUI.php';
212 $form->setFormAction($this->ctrl->getFormAction($this));
213 $form->setTitle($this->lng->txt(
'role_new'));
214 $form->addCommandButton(
'addrole',$this->lng->txt(
'role_new'));
215 $form->addCommandButton(
'perm', $this->lng->txt(
'cancel'));
218 $title->setValidationRegexp(
'/^(?!il_).*$/');
219 $title->setValidationFailureMessage($this->lng->txt(
'msg_role_reserved_prefix'));
222 $title->setRequired(
true);
228 $form->addItem($desc);
231 $pro->
setInfo($this->lng->txt(
'role_protect_permissions_desc'));
233 $form->addItem($pro);
236 $pd->
setInfo($this->lng->txt(
'rbac_role_add_to_desktop_info'));
241 $option =
new ilRadioOption($this->lng->txt(
"rbac_role_rights_copy_empty"), 0);
242 $rights->addOption($option);
244 $parent_role_ids = $rbacreview->getParentRoleIds($this->gui_obj->object->getRefId(),
true);
246 foreach($parent_role_ids as $id => $tmp)
252 $sorted_ids =
ilUtil::_sortIds($ids,
'object_data',
'type DESC,title',
'obj_id');
258 foreach($sorted_ids as $id)
260 $par = $parent_role_ids[$id];
261 if ($par[
"obj_id"] != SYSTEM_ROLE_ID)
263 include_once
'./Services/AccessControl/classes/class.ilObjRole.php';
265 $option->
setInfo($par[
"desc"]);
266 $rights->addOption($option);
270 $form->addItem($rights);
273 if($objDefinition->isContainer($this->getCurrentObject()->getType()))
275 $check =
new ilCheckboxInputGui($this->lng->txt(
"rbac_role_rights_copy_change_existing"),
'existing');
276 $check->setInfo($this->lng->txt(
'rbac_change_existing_objects_desc_new_role'));
277 $form->addItem($check);
287 $this->tpl->setContent($form->getHTML());
302 if($form->checkInput())
304 $new_title = $form->getInput(
"title");
305 $rolf_data = $rbacreview->getRoleFolderOfObject($this->gui_obj->object->getRefId());
306 if($rolf_data[
'child'])
308 foreach($rbacreview->getRolesOfRoleFolder($rolf_data[
'child']) as $role_id)
312 $ilErr->raiseError($this->lng->txt(
'rbac_role_exists_alert'),$ilErr->MESSAGE);
318 if ($this->gui_obj->object->getType() !=
"rolf")
320 $rolf_data = $rbacreview->getRoleFolderOfObject($this->gui_obj->object->getRefId());
323 if (!($rolf_id = $rolf_data[
"child"]))
326 $subobjects = $this->objDefinition->getSubObjects($this->gui_obj->object->getType());
328 if (!isset($subobjects[
"rolf"]))
330 ilUtil::sendFailure($this->lng->txt(
"msg_no_rolf_allowed1").
" '".$this->gui_obj->object->getTitle().
"' ".
331 $this->lng->txt(
"msg_no_rolf_allowed2"),
true);
332 $ilCtrl->redirect($this,
"perm");
336 $rolfObj = $this->gui_obj->object->createRoleFolder();
337 $rolf_id = $rolfObj->getRefId();
343 $rolf_id = $this->gui_obj->object->getRefId();
347 if ($this->gui_obj->object->getType() ==
"rolf")
349 $roleObj = $this->gui_obj->object->createRole($new_title, $form->getInput(
"desc"));
354 $roleObj = $rfoldObj->createRole($new_title, $form->getInput(
"desc"));
358 $rbacadmin->setProtected(
361 $form->getInput(
'pro') ?
'y' :
'n'
365 $right_id_to_copy = $form->getInput(
"rights");
366 if($right_id_to_copy)
368 $parentRoles = $rbacreview->getParentRoleIds($rolf_id,
true);
369 $rbacadmin->copyRoleTemplatePermissions(
371 $parentRoles[$right_id_to_copy][
"parent"],
376 if($form->getInput(
'existing'))
378 if($form->getInput(
'pro'))
380 $roleObj->changeExistingObjects(
381 $this->gui_obj->object->getRefId(),
388 $roleObj->changeExistingObjects(
389 $this->gui_obj->object->getRefId(),
398 if($form->getInput(
"desktop"))
400 include_once
'Services/AccessControl/classes/class.ilRoleDesktopItem.php';
402 $role_desk_item_obj->
add($this->gui_obj->object->getRefId(),
ilObject::_lookupType($this->gui_obj->object->getRefId(),
true));
406 $this->ctrl->redirect($this,
'perm');
410 $form->setValuesByPost();
411 $this->tpl->setContent($form->getHTML());
417 include_once
"Services/Table/classes/class.ilTableGUI.php";
431 case "clipboardObject":
432 $offset =
$_GET[
"offset"];
433 $order =
$_GET[
"sort_by"];
434 $direction =
$_GET[
"sort_order"];
435 $tbl->disable(
"footer");
439 $offset =
$_GET[
"offset"];
440 $order =
$_GET[
"sort_by"];
441 $direction =
$_GET[
"sort_order"];
445 $tbl->setOrderColumn($order);
446 $tbl->setOrderDirection($direction);
447 $tbl->setOffset($offset);
448 $tbl->setLimit(
$_GET[
"limit"]);
449 $tbl->setFooter(
"tblfooter",$this->lng->txt(
"previous"),$this->lng->txt(
"next"));
450 $tbl->setData($result_set);
456 $action[1] = $this->lng->txt(
'filter_all_roles');
457 $action[2] = $this->lng->txt(
'filter_global_roles');
458 $action[3] = $this->lng->txt(
'filter_local_roles');
459 $action[4] = $this->lng->txt(
'filter_roles_local_policy');
460 $action[5] = $this->lng->txt(
'filter_local_roles_object');
476 $arr_global_roles = $rbacreview->getGlobalRoles();
477 $arr_remove_roles = array_diff(array_keys($a_roles),$arr_global_roles);
479 foreach ($arr_remove_roles as $role_id)
481 unset($a_roles[$role_id]);
488 $arr_global_roles = $rbacreview->getGlobalRoles();
490 foreach ($arr_global_roles as $role_id)
492 unset($a_roles[$role_id]);
499 $role_folder = $rbacreview->getRoleFolderOfObject($this->gui_obj->object->getRefId());
506 $arr_local_roles = $rbacreview->getRolesOfRoleFolder($role_folder[
"ref_id"]);
507 $arr_remove_roles = array_diff(array_keys($a_roles),$arr_local_roles);
509 foreach ($arr_remove_roles as $role_id)
511 unset($a_roles[$role_id]);
519 $role_folder = $rbacreview->getRoleFolderOfObject($this->gui_obj->object->getRefId());
526 $arr_local_roles = $rbacreview->getRolesOfRoleFolder($role_folder[
"ref_id"],
false);
527 $arr_remove_roles = array_diff(array_keys($a_roles),$arr_local_roles);
529 foreach ($arr_remove_roles as $role_id)
531 unset($a_roles[$role_id]);
544 global $ilObjDataCache,$ilUser;
548 $this->tpl->addBlockfile(
'ADM_CONTENT',
'adm_content',
'tpl.obj_owner.html');
550 $this->tpl->setVariable(
"FORMACTION",$this->ctrl->getFormAction($this));
553 $this->tpl->setVariable(
"TBL_TITLE_IMG_ALT",$this->lng->txt(
'owner'));
554 $this->tpl->setVariable(
"TBL_TITLE",$this->lng->txt(
'info_owner_of_object'));
555 $this->tpl->setVariable(
"BTN_CHOWN",$this->lng->txt(
'change_owner'));
556 $this->tpl->setVariable(
"TXT_USERNAME",$this->lng->txt(
'username'));
557 $this->tpl->setVariable(
"CHOWN_WARNING",$this->lng->txt(
'chown_warning'));
562 global $rbacsystem,
$ilErr,$ilObjDataCache;
571 $this->gui_obj->object->setOwner($user_id);
572 $this->gui_obj->object->updateOwner();
573 $ilObjDataCache->deleteCachedEntry($this->gui_obj->object->getId());
576 include_once
"Services/AccessControl/classes/class.ilRbacLog.php";
582 if (!$rbacsystem->checkAccess(
"edit_permission",$this->gui_obj->object->getRefId()))
584 $this->ctrl->redirect($this->gui_obj);
588 $this->ctrl->redirect($this,
'owner');
598 include_once(
'classes/class.ilObjectStatusGUI.php');
602 $this->tpl->setVariable(
"ADM_CONTENT",$ilInfo->getHTML());
610 $perm = ($a_cmd ==
'perm') ?
true :
false;
611 $info = ($a_cmd ==
'info') ?
true :
false;
612 $owner = ($a_cmd ==
'owner') ?
true :
false;
613 $log = ($a_cmd ==
'log') ?
true :
false;
615 $ilTabs->addSubTabTarget(
"permission_settings", $this->ctrl->getLinkTarget($this,
"perm"),
618 #$ilTabs->addSubTabTarget("permission_settings", $this->ctrl->getLinkTarget($this, "perm2"),
619 # "", "", "", $perm);
621 $ilTabs->addSubTabTarget(
"info_status_info", $this->ctrl->getLinkTarget($this,
"info"),
623 $ilTabs->addSubTabTarget(
"owner", $this->ctrl->getLinkTarget($this,
"owner"),
626 include_once
"Services/AccessControl/classes/class.ilRbacLog.php";
629 $ilTabs->addSubTabTarget(
"log", $this->ctrl->getLinkTarget($this,
"log"),
636 global $rbacsystem, $rbacreview, $tree;
639 $roles = $rbacreview->getParentRoleIds($this->gui_obj->object->getRefId());
645 if (
$_SESSION[
'perm_filtered_roles'] == 0)
647 if ($tree->checkForParentType($this->gui_obj->object->getRefId(),
'crs') || $tree->checkForParentType($this->gui_obj->object->getRefId(),
'grp'))
659 $role_folder = $rbacreview->getRoleFolderOfObject($this->gui_obj->object->getRefId());
661 $local_roles = array();
663 if (!empty($role_folder))
665 $local_roles = $rbacreview->getRolesOfRoleFolder($role_folder[
"ref_id"]);
668 foreach ($roles as $key => $role)
671 if ($role[
"obj_id"] == SYSTEM_ROLE_ID)
677 $this->roles[$role[
'obj_id']] = $role;
680 $this->roles[$role[
'obj_id']][
'keep_protected'] = $rbacreview->isProtected($role[
'parent'],$role[
'obj_id']);
682 if (!in_array($role[
"obj_id"],$local_roles))
684 $this->roles[$role[
'obj_id']][
'local_policy_enabled'] =
false;
685 $this->roles[$role[
'obj_id']][
'local_policy_allowed'] =
true;
690 if ($rbacreview->isAssignable($role[
"obj_id"],$role_folder[
"ref_id"]))
692 $this->roles[$role[
'obj_id']][
'local_policy_allowed'] =
false;
696 $this->roles[$role[
'obj_id']][
'local_policy_enabled'] =
true;
697 $this->roles[$role[
'obj_id']][
'local_policy_allowed'] =
true;
703 foreach ($grouped_ops as $ops_group => $ops_data)
705 foreach ($ops_data as $key => $operation)
707 $grouped_ops[$ops_group][$key][
'checked'] = $rbacsystem->checkPermission($this->gui_obj->object->getRefId(), $role[
'obj_id'], $operation[
'name']);
711 $this->roles[$role[
'obj_id']][
'permissions'] = $grouped_ops;
719 global $objDefinition;
721 $this->tpl->setCurrentBlock(
"perm_subtitle");
722 $this->tpl->setVariable(
"TXT_PERM_CLASS",$this->lng->txt(
'perm_class_general'));
723 $this->tpl->setVariable(
"TXT_PERM_CLASS_DESC",$this->lng->txt(
'perm_class_general_desc'));
724 $this->tpl->setVariable(
"COLSPAN", $this->num_roles);
725 $this->tpl->parseCurrentBlock();
727 foreach ($this->roles as $role)
729 foreach ($role[
'permissions'][
'general'] as $perm)
732 if ($perm[
'name'] ==
'delete' and $this->gui_obj->object->getType() ==
'rolf' and $this->gui_obj->object->getRefId() != ROLE_FOLDER_ID)
737 $box = ilUtil::formCheckBox($perm[
'checked'],
"perm[".$role[
"obj_id"].
"][]",$perm[
"ops_id"],$role[
"protected"]);
739 $this->tpl->setCurrentBlock(
"perm_item");
740 $this->tpl->setVariable(
"PERM_CHECKBOX",$box);
741 $this->tpl->setVariable(
"PERM_NAME",$this->lng->txt($perm[
'name']));
742 if ($objDefinition->isPlugin($this->gui_obj->object->getType()))
744 $this->tpl->setVariable(
"PERM_TOOLTIP",
746 $this->gui_obj->object->getType().
"_".$perm[
'name']));
750 $this->tpl->setVariable(
"PERM_TOOLTIP",$this->lng->txt($this->gui_obj->object->getType().
"_".$perm[
'name']));
752 $this->tpl->setVariable(
"PERM_LABEL",
'perm_'.$role[
'obj_id'].
'_'.$perm[
'ops_id']);
753 $this->tpl->parseCurrentBlock();
756 $this->tpl->setCurrentBlock(
"perm_table");
757 $this->tpl->parseCurrentBlock();
760 $this->tpl->setCurrentBlock(
"perm_settings");
761 $this->tpl->parseCurrentBlock();
766 global $objDefinition;
770 $first_role =& current($this->roles);
772 if (count($first_role[
'permissions'][
'object']))
774 $this->tpl->setCurrentBlock(
"perm_subtitle");
775 $this->tpl->setVariable(
"TXT_PERM_CLASS",$this->lng->txt(
'perm_class_object'));
776 $this->tpl->setVariable(
"TXT_PERM_CLASS_DESC",$this->lng->txt(
'perm_class_object_desc'));
777 $this->tpl->setVariable(
"COLSPAN", $this->num_roles);
778 $this->tpl->parseCurrentBlock();
780 foreach ($this->roles as $role)
782 foreach ($role[
'permissions'][
'object'] as $perm)
784 $box = ilUtil::formCheckBox($perm[
'checked'],
"perm[".$role[
"obj_id"].
"][]",$perm[
"ops_id"],$role[
"protected"]);
786 $this->tpl->setCurrentBlock(
"perm_item");
787 $this->tpl->setVariable(
"PERM_CHECKBOX",$box);
788 $this->tpl->setVariable(
"PERM_NAME",$this->lng->txt($this->gui_obj->object->getType().
"_".$perm[
'name']));
789 if ($objDefinition->isPlugin($this->gui_obj->object->getType()))
791 $this->tpl->setVariable(
"PERM_TOOLTIP",
793 $this->gui_obj->object->getType().
"_".$perm[
'name']));
797 $this->tpl->setVariable(
"PERM_TOOLTIP",$this->lng->txt($this->gui_obj->object->getType().
"_".$perm[
'name']));
799 $this->tpl->setVariable(
"PERM_LABEL",
'perm_'.$role[
'obj_id'].
'_'.$perm[
'ops_id']);
800 $this->tpl->parseCurrentBlock();
803 $this->tpl->setCurrentBlock(
"perm_table");
804 $this->tpl->parseCurrentBlock();
807 $this->tpl->setCurrentBlock(
"perm_settings");
808 $this->tpl->parseCurrentBlock();
814 global $objDefinition;
816 $this->tpl->setCurrentBlock(
"perm_subtitle");
817 $this->tpl->setVariable(
"TXT_PERM_CLASS",$this->lng->txt(
'perm_class_rbac'));
818 $this->tpl->setVariable(
"TXT_PERM_CLASS_DESC",$this->lng->txt(
'perm_class_rbac_desc'));
819 $this->tpl->setVariable(
"COLSPAN", $this->num_roles);
820 $this->tpl->parseCurrentBlock();
822 foreach ($this->roles as $role)
824 foreach ($role[
'permissions'][
'rbac'] as $perm)
826 $box = ilUtil::formCheckBox($perm[
'checked'],
"perm[".$role[
"obj_id"].
"][]",$perm[
"ops_id"],$role[
"protected"]);
828 $this->tpl->setCurrentBlock(
"perm_item");
829 $this->tpl->setVariable(
"PERM_CHECKBOX",$box);
830 $this->tpl->setVariable(
"PERM_NAME",$this->lng->txt(
'perm_administrate'));
831 if ($objDefinition->isPlugin($this->gui_obj->object->getType()))
833 $this->tpl->setVariable(
"PERM_TOOLTIP",
835 $this->gui_obj->object->getType().
"_".$perm[
'name']));
839 $this->tpl->setVariable(
"PERM_TOOLTIP",$this->lng->txt($this->gui_obj->object->getType().
"_".$perm[
'name']));
841 $this->tpl->setVariable(
"PERM_LABEL",
'perm_'.$role[
'obj_id'].
'_'.$perm[
'ops_id']);
842 $this->tpl->parseCurrentBlock();
847 if ($this->objDefinition->stopInheritance($this->gui_obj->object->getType()))
849 if ($role[
'local_policy_allowed'])
851 $box = ilUtil::formCheckBox($role[
'local_policy_enabled'],
'stop_inherit[]',$role[
'obj_id'],$role[
'keep_protected']);
852 $lang = $this->lng->txt(
"perm_use_local_policy").
" (".
853 $this->lng->txt(
"stop_inheritance").
")";
854 $lang_desc = $this->lng->txt(
"perm_use_local_policy_desc");
859 $lang = $this->lng->txt(
"perm_local_role");
860 $lang_desc = $this->lng->txt(
"perm_local_role_desc");
863 $this->tpl->setCurrentBlock(
"perm_item");
864 $this->tpl->setVariable(
"PERM_CHECKBOX",$box);
865 $this->tpl->setVariable(
"PERM_NAME",
$lang);
866 $this->tpl->setVariable(
"PERM_TOOLTIP",$lang_desc);
867 $this->tpl->setVariable(
"PERM_LABEL",
'stop_inherit_'.$role[
'obj_id']);
868 $this->tpl->parseCurrentBlock();
871 $this->tpl->setCurrentBlock(
"perm_table");
872 $this->tpl->parseCurrentBlock();
875 $this->tpl->setCurrentBlock(
"perm_settings");
876 $this->tpl->parseCurrentBlock();
885 if ($this->gui_obj->object->getType() ==
'rolf' and $this->gui_obj->object->getRefId() != ROLE_FOLDER_ID)
892 $first_role =& current($this->roles);
894 if (count($first_role[
'permissions'][
'create']))
896 $this->tpl->setCurrentBlock(
"perm_subtitle");
897 $this->tpl->setVariable(
"TXT_PERM_CLASS",$this->lng->txt(
'perm_class_create'));
898 $this->tpl->setVariable(
"TXT_PERM_CLASS_DESC",$this->lng->txt(
'perm_class_create_desc'));
899 $this->tpl->setVariable(
"COLSPAN", $this->num_roles);
900 $this->tpl->parseCurrentBlock();
903 $container_arr = array(
'cat',
'grp',
'crs',
'fold');
905 if (in_array($this->gui_obj->object->getType(),$container_arr))
907 $chk_toggle_create =
true;
910 foreach ($this->roles as $role)
914 foreach ($role[
'permissions'][
'create'] as $perm)
916 $ops_ids[] = $perm[
'ops_id'];
919 if ($chk_toggle_create)
921 $this->tpl->setCurrentBlock(
'chk_toggle_create');
922 $this->tpl->setVariable(
'PERM_NAME',$this->lng->txt(
'check_all').
"/".$this->lng->txt(
'uncheck_all'));
923 $this->tpl->setVariable(
'PERM_TOOLTIP',$this->lng->txt(
'check_all'));
924 $this->tpl->setVariable(
'ROLE_ID',$role[
'obj_id']);
925 $this->tpl->setVariable(
'JS_VARNAME',
'perm_'.$role[
'obj_id']);
927 $this->tpl->parseCurrentBlock();
930 foreach ($role[
'permissions'][
'create'] as $perm)
932 if ($perm[
"name"] ==
"create_icrs" and !$ilSetting->get(
"ilinc_active"))
937 $box = ilUtil::formCheckBox($perm[
'checked'],
"perm[".$role[
"obj_id"].
"][]",$perm[
"ops_id"],$role[
"protected"]);
939 $this->tpl->setCurrentBlock(
"perm_item");
940 $this->tpl->setVariable(
"PERM_CHECKBOX",$box);
941 if ($objDefinition->isPlugin(substr($perm[
'name'],7)))
943 $this->tpl->setVariable(
"PERM_NAME",
945 "obj_".substr($perm[
'name'],7)));
946 $this->tpl->setVariable(
"PERM_TOOLTIP",
948 $this->gui_obj->object->getType().
"_".$perm[
'name']));
952 $this->tpl->setVariable(
"PERM_NAME",$this->lng->txt(
"obj".substr($perm[
'name'],6)));
953 $this->tpl->setVariable(
"PERM_TOOLTIP",$this->lng->txt($this->gui_obj->object->getType().
"_".$perm[
'name']));
956 $this->tpl->setVariable(
"PERM_LABEL",
'perm_'.$role[
'obj_id'].
'_'.$perm[
'ops_id']);
957 $this->tpl->parseCurrentBlock();
960 $this->tpl->setCurrentBlock(
"perm_table");
961 $this->tpl->parseCurrentBlock();
964 $this->tpl->setCurrentBlock(
"perm_settings");
965 $this->tpl->parseCurrentBlock();
971 include_once
"Services/AccessControl/classes/class.ilRbacLog.php";
974 $this->ctrl->redirect($this,
"perm");
979 include_once
"Services/AccessControl/classes/class.ilRbacLogTableGUI.php";
980 $table =
new ilRbacLogTableGUI($this,
"log", $this->gui_obj->object->getRefId());
981 $this->tpl->setContent($table->getHTML());
986 include_once
"Services/AccessControl/classes/class.ilRbacLogTableGUI.php";
987 $table =
new ilRbacLogTableGUI($this,
"log", $this->gui_obj->object->getRefId());
989 $table->writeFilterToSession();
995 include_once
"Services/AccessControl/classes/class.ilRbacLogTableGUI.php";
996 $table =
new ilRbacLogTableGUI($this,
"log", $this->gui_obj->object->getRefId());
998 $table->resetFilter();