ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilObjRoleFolderGUI Class Reference

Class ilObjRoleFolderGUI. More...

+ Inheritance diagram for ilObjRoleFolderGUI:
+ Collaboration diagram for ilObjRoleFolderGUI:

Public Member Functions

 __construct ($a_data, int $a_id, bool $a_call_by_reference)
 Constructor public. More...
 
 executeCommand ()
 
 returnObject ()
 
 viewObject ()
 
 resetFilterObject ()
 Reset role filter. More...
 
 getAdminTabs ()
 Add role folder tabs. More...
 
 editSettingsObject (?ilPropertyFormGUI $a_form=null)
 
 saveSettingsObject ()
 
 addToExternalSettingsForm (int $a_form_id)
 
- Public Member Functions inherited from ilObjectGUI
 getRefId ()
 
 setAdminMode (string $mode)
 
 getAdminMode ()
 
 getObject ()
 
 executeCommand ()
 
 withReferences ()
 determines whether objects are referenced or not (got ref ids or not) More...
 
 setCreationMode (bool $mode=true)
 If true, a creation screen is displayed the current [ref_id] does belong to the parent class The mode is determined in ilRepositoryGUI. More...
 
 getCreationMode ()
 
 prepareOutput (bool $show_sub_objects=true)
 
 getAdminTabs ()
 administration tabs show only permissions and trash folder More...
 
 getHTML ()
 
 confirmedDeleteObject ()
 confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled More...
 
 cancelObject ()
 cancel action and go back to previous page More...
 
 createObject ()
 create new object form More...
 
 editAvailabilityPeriodObject ()
 
 saveAvailabilityPeriodObject ()
 
 cancelCreation ()
 cancel create action and go back to repository parent More...
 
 saveObject ()
 
 getDidacticTemplateVar (string $type)
 Get didactic template setting from creation screen. More...
 
 putObjectInTree (ilObject $obj, ?int $parent_node_id=null)
 Add object to tree at given position. More...
 
 editObject ()
 
 addExternalEditFormCustom (ilPropertyFormGUI $form)
 
 updateObject ()
 updates object entry in object_data More...
 
 getFormAction (string $cmd, string $default_form_action="")
 Get form action for command (command is method name without "Object", e.g. More...
 
 isVisible (int $ref_id, string $type)
 
 viewObject ()
 viewObject container presentation for "administration -> repository, trash, permissions" More...
 
 deleteObject (bool $error=false)
 Display deletion confirmation screen. More...
 
 setColumnSettings (ilColumnGUI $column_gui)
 
 addToDeskObject ()
 
 removeFromDeskObject ()
 
- Public Member Functions inherited from ILIAS\Object\ImplementsCreationCallback
 callCreationCallback (\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb)
 

Protected Member Functions

 initCopySourceFromGET ()
 
 initRolesFromPOST ()
 
 roleSearchObject ()
 Search target roles. More...
 
 initRoleSearchForm ()
 Init role search form. More...
 
 roleSearchFormObject ()
 Parse search query. More...
 
 roleSearchListObject ()
 List roles. More...
 
 chooseCopyBehaviourObject (?ilPropertyFormGUI $form=null)
 Choose option for copying roles/role templates. More...
 
 initCopyBehaviourForm ()
 Show copy behaviour form. More...
 
 adjustRoleObject ()
 Copy role. More...
 
 doAddRolePermissions (int $source, int $target)
 do add role permission More...
 
 removeRolePermissionsObject ()
 Remove role permissions. More...
 
 doRemoveRolePermissions (int $source, int $target)
 do add role permission More...
 
 doCopyRole (int $source, int $target)
 Perform copy of role. More...
 
 doChangeExistingObjects (int $a_start_obj, int $a_target_role, int $a_operation_mode, int $a_source_role)
 Do change existing objects. More...
 
 applyFilterObject ()
 Apply role filter. More...
 
 confirmDeleteObject ()
 Confirm deletion of roles. More...
 
 deleteRoleObject ()
 Delete roles. More...
 
 initSettingsForm ()
 
- Protected Member Functions inherited from ilObjectGUI
 getObjectService ()
 
 assignObject ()
 
 setTitleAndDescription ()
 
 createActionDispatcherGUI ()
 
 initHeaderAction (?string $sub_type=null, ?int $sub_id=null)
 Add header action menu. More...
 
 insertHeaderAction (?ilObjectListGUI $list_gui=null)
 Insert header action into main template. More...
 
 addHeaderAction ()
 Add header action menu. More...
 
 redrawHeaderActionObject ()
 Ajax call: redraw action header only. More...
 
 setTabs ()
 set admin tabs More...
 
 setAdminTabs ()
 set admin tabs More...
 
 setLocator ()
 
 addLocatorItems ()
 should be overwritten to add object specific items (repository items are preloaded) More...
 
 omitLocator (bool $omit=true)
 
 addAdminLocatorItems (bool $do_not_add_object=false)
 should be overwritten to add object specific items (repository items are preloaded) More...
 
 getCreationFormsHTML (StandardForm|ilPropertyFormGUI|array $form)
 
 getTitleForCreationFormPage ()
 
 getCreationFormTitle ()
 
 initCreateForm (string $new_type)
 
 didacticTemplatesToForm ()
 
 initDidacticTemplate (ilPropertyFormGUI $form)
 
 retrieveAdditionalDidacticTemplateOptions ()
 
 addAdoptContentLinkToToolbar ()
 
 addImportButtonToToolbar ()
 
 addAvailabilityPeriodButtonToToolbar (ilToolbarGUI $toolbar)
 
 parseDidacticTemplateVar (string $var, string $type)
 
 afterSave (ilObject $new_object)
 Post (successful) object creation hook. More...
 
 initEditForm ()
 
 initEditCustomForm (ilPropertyFormGUI $a_form)
 Add custom fields to update form. More...
 
 getEditFormValues ()
 
 getEditFormCustomValues (array &$a_values)
 Add values to custom edit fields. More...
 
 validateCustom (ilPropertyFormGUI $form)
 Validate custom values (if not possible with checkInput()) More...
 
 updateCustom (ilPropertyFormGUI $form)
 Insert custom update form values into object. More...
 
 afterUpdate ()
 Post (successful) object update hook. More...
 
 routeImportCmdObject ()
 
 importFile (string $file_to_import, string $path_to_uploaded_file_in_temp_dir)
 
 deleteUploadedImportFile (string $path_to_uploaded_file_in_temp_dir)
 
 afterImport (ilObject $new_object)
 Post (successful) object import hook. More...
 
 setFormAction (string $cmd, string $form_action)
 
 getReturnLocation (string $cmd, string $default_location="")
 Get return location for command (command is method name without "Object", e.g. More...
 
 setReturnLocation (string $cmd, string $location)
 set specific return location for command More...
 
 getTargetFrame (string $cmd, string $default_target_frame="")
 get target frame for command (command is method name without "Object", e.g. More...
 
 setTargetFrame (string $cmd, string $target_frame)
 Set specific target frame for command. More...
 
 showPossibleSubObjects ()
 show possible sub objects (pull down menu) More...
 
 getTabs ()
 overwrite in derived GUI class of your object type More...
 
 redirectToRefId (int $ref_id, string $cmd="")
 redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current ["ref_id"] value of the request More...
 
 getCenterColumnHTML ()
 Get center column. More...
 
 getRightColumnHTML ()
 Display right column. More...
 
 checkPermission (string $perm, string $cmd="", string $type="", ?int $ref_id=null)
 
 checkPermissionBool (string $perm, string $cmd="", string $type="", ?int $ref_id=null)
 
 enableDragDropFileUpload ()
 Enables the file upload into this object by dropping files. More...
 
 getCreatableObjectTypes ()
 
 buildAddNewItemElements (array $subtypes, string $create_target_class=ilRepositoryGUI::class, ?int $redirect_target_ref_id=null,)
 
 buildGroup (string $create_target_class, array $obj_types_in_group, string $title, array $subtypes)
 

Protected Attributes

ilRbacAdmin $rbacadmin
 
GlobalHttpState $http
 
Factory $refinery
 
UIFactory $ui_factory
 
- Protected Attributes inherited from ilObjectGUI
ILIAS Notes Service $notes_service
 
ServerRequestInterface $request
 
ilLocatorGUI $locator
 
ilObjUser $user
 
ilAccessHandler $access
 
ilSetting $settings
 
ilToolbarGUI $toolbar
 
ilRbacAdmin $rbac_admin
 
ilRbacSystem $rbac_system
 
ilRbacReview $rbac_review
 
ilObjectService $object_service
 
ilObjectDefinition $obj_definition
 
ilGlobalTemplateInterface $tpl
 
ilTree $tree
 
ilCtrl $ctrl
 
ilErrorHandling $error
 
ilLanguage $lng
 
ilTabsGUI $tabs_gui
 
ILIAS $ilias
 
ArrayBasedRequestWrapper $post_wrapper
 
RequestWrapper $request_wrapper
 
Refinery $refinery
 
ilFavouritesManager $favourites
 
ilObjectCustomIconFactory $custom_icon_factory
 
UIFactory $ui_factory
 
UIRenderer $ui_renderer
 
Filesystem $temp_file_system
 
ilObject $object = null
 
bool $creation_mode = false
 
 $data
 
int $id
 
bool $call_by_reference = false
 
bool $prepare_output
 
int $ref_id
 
int $obj_id
 
int $maxcount
 
array $form_action = []
 
array $return_location = []
 
array $target_frame = []
 
string $tmp_import_dir
 
string $sub_objects = ""
 
bool $omit_locator = false
 
string $type = ""
 
string $admin_mode = self::ADMIN_MODE_NONE
 
int $requested_ref_id = 0
 
int $requested_crtptrefid = 0
 
int $requested_crtcb = 0
 
string $requested_new_type = ""
 
string $link_params
 
string $html = ""
 

Private Attributes

const COPY_ADD_PERMISSIONS = 1
 
const COPY_CLONE_PERMISSIONS = 2
 
const COPY_REMOVE_PERMISSIONS = 3
 
const COPY_CHANGE_EXISTING_OBJECTS = 1
 
ilLogger $logger
 

Additional Inherited Members

- Static Public Member Functions inherited from ilObjectGUI
static _gotoRepositoryRoot (bool $raise_error=false)
 Goto repository root. More...
 
static _gotoRepositoryNode (int $ref_id, string $cmd="")
 
static _gotoSharedWorkspaceNode (int $wsp_id)
 
- Data Fields inherited from ilObjectGUI
const ADMIN_MODE_NONE = ""
 
const ADMIN_MODE_SETTINGS = "settings"
 
const ADMIN_MODE_REPOSITORY = "repository"
 
const UPLOAD_TYPE_LOCAL = 1
 
const UPLOAD_TYPE_UPLOAD_DIRECTORY = 2
 
const CFORM_NEW = 1
 
const CFORM_IMPORT = 2
 
const CFORM_CLONE = 3
 
const SUPPORTED_IMPORT_MIME_TYPES = [MimeType::APPLICATION__ZIP, MimeType::APPLICATION__X_ZIP_COMPRESSED]
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilObjRoleFolderGUI::__construct (   $a_data,
int  $a_id,
bool  $a_call_by_reference 
)

Constructor public.

Definition at line 50 of file class.ilObjRoleFolderGUI.php.

References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), and ILIAS\Repository\refinery().

51  {
52  global $DIC;
53 
54  $this->logger = $DIC->logger()->ac();
55  $this->rbacadmin = $DIC['rbacadmin'];
56  $this->http = $DIC->http();
57  $this->refinery = $DIC->refinery();
58  $this->ui_factory = $DIC['ui.factory'];
59 
60  $this->type = "rolf";
61  parent::__construct($a_data, $a_id, $a_call_by_reference, false);
62  $this->lng->loadLanguageModule('rbac');
63  }
static http()
Fetches the global http state from ILIAS.
global $DIC
Definition: shib_login.php:22
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

Member Function Documentation

◆ addToExternalSettingsForm()

ilObjRoleFolderGUI::addToExternalSettingsForm ( int  $a_form_id)

Definition at line 779 of file class.ilObjRoleFolderGUI.php.

References ilSecuritySettings\_getInstance(), ilAdministrationSettingsFormHandler\FORM_PRIVACY, ilAdministrationSettingsFormHandler\FORM_SECURITY, ilPrivacySettings\getInstance(), null, and ilAdministrationSettingsFormHandler\VALUE_BOOL.

779  : array
780  {
781  switch ($a_form_id) {
783 
784  $security = ilSecuritySettings::_getInstance();
785 
786  $fields = ['adm_adm_role_protect' => [$security->isAdminRoleProtected(),
788  ]
789  ];
790 
791  return [["editSettings", $fields]];
792 
794 
795  $privacy = ilPrivacySettings::getInstance();
796 
797  $subitems = null;
798  if ($privacy->enabledRbacLog()) {
799  $subitems = ['rbac_log_age' => $privacy->getRbacLogAge()];
800  }
801  $fields = ['rbac_log' => [$privacy->enabledRbacLog(),
803  $subitems
804  ]
805  ];
806 
807  return [["editSettings", $fields]];
808  }
809  return [];
810  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
static _getInstance()
Get instance of ilSecuritySettings.
+ Here is the call graph for this function:

◆ adjustRoleObject()

ilObjRoleFolderGUI::adjustRoleObject ( )
protected

Copy role.

Definition at line 399 of file class.ilObjRoleFolderGUI.php.

References ilObjectGUI\checkPermission(), ILIAS\Repository\ctrl(), doAddRolePermissions(), doChangeExistingObjects(), doCopyRole(), doRemoveRolePermissions(), initCopyBehaviourForm(), initCopySourceFromGET(), initRolesFromPOST(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), ilObjRole\MODE_ADD_OPERATIONS, ilObjRole\MODE_READ_OPERATIONS, and ilObjRole\MODE_REMOVE_OPERATIONS.

399  : void
400  {
401  $this->checkPermission('write');
402 
403  $roles = $this->initRolesFromPOST();
404  $source = $this->initCopySourceFromGET();
405 
406  $form = $this->initCopyBehaviourForm();
407  if ($form->checkInput()) {
408  $adjustment_type = $form->getInput('type');
409  foreach ((array) $roles as $role_id) {
410  if ($role_id !== $source) {
411  $start_obj = $this->rbac_review->getRoleFolderOfRole($role_id);
412  $this->logger->debug('Start object: ' . $start_obj);
413 
414  switch ($adjustment_type) {
415  case self::COPY_ADD_PERMISSIONS:
416  $change_existing = (bool) $form->getInput('add_ce_type');
417  $this->doAddRolePermissions(
418  $source,
419  $role_id
420  );
421  if ($change_existing) {
423  $start_obj,
424  $role_id,
426  $source
427  );
428  }
429  break;
430  case self::COPY_CLONE_PERMISSIONS:
431  $change_existing = (bool) $form->getInput('clone_ce_type');
432  $this->doCopyRole(
433  $source,
434  $role_id
435  );
436  if ($change_existing) {
438  $start_obj,
439  $role_id,
441  $source
442  );
443  }
444  break;
445  case self::COPY_REMOVE_PERMISSIONS:
446  $change_existing = (bool) $form->getInput('remove_ce_type');
448  $source,
449  $role_id
450  );
451  if ($change_existing) {
453  $start_obj,
454  $role_id,
456  $source
457  );
458  }
459  break;
460  }
461  }
462  }
463  $this->tpl->setOnScreenMessage('success', $this->lng->txt('rbac_copy_finished'), true);
464  $this->ctrl->redirect($this, 'view');
465  }
466  }
const MODE_REMOVE_OPERATIONS
const MODE_READ_OPERATIONS
doRemoveRolePermissions(int $source, int $target)
do add role permission
doCopyRole(int $source, int $target)
Perform copy of role.
const MODE_ADD_OPERATIONS
doAddRolePermissions(int $source, int $target)
do add role permission
checkPermission(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
doChangeExistingObjects(int $a_start_obj, int $a_target_role, int $a_operation_mode, int $a_source_role)
Do change existing objects.
initCopyBehaviourForm()
Show copy behaviour form.
+ Here is the call graph for this function:

◆ applyFilterObject()

ilObjRoleFolderGUI::applyFilterObject ( )
protected

Apply role filter.

Definition at line 579 of file class.ilObjRoleFolderGUI.php.

References viewObject().

579  : void
580  {
581  $table = new ilRoleTableGUI($this, 'view');
582  $table->init();
583  $table->resetOffset();
584  $table->writeFilterToSession();
585 
586  $this->viewObject();
587  }
TableGUI for the presentation og roles and role templates.
+ Here is the call graph for this function:

◆ chooseCopyBehaviourObject()

ilObjRoleFolderGUI::chooseCopyBehaviourObject ( ?ilPropertyFormGUI  $form = null)
protected

Choose option for copying roles/role templates.

Definition at line 270 of file class.ilObjRoleFolderGUI.php.

References ILIAS\Repository\ctrl(), initCopyBehaviourForm(), initCopySourceFromGET(), and ILIAS\Repository\lng().

270  : void
271  {
272  $this->initCopySourceFromGET();
273 
274  $this->ctrl->saveParameter($this, 'csource');
275  $this->tabs_gui->clearTargets();
276  $this->tabs_gui->setBackTarget(
277  $this->lng->txt('rbac_back_to_overview'),
278  $this->ctrl->getLinkTarget($this, 'view')
279  );
280  if (!$form instanceof \ilPropertyFormGUI) {
281  $form = $this->initCopyBehaviourForm();
282  }
283  $this->tpl->setContent($form->getHTML());
284  }
initCopyBehaviourForm()
Show copy behaviour form.
+ Here is the call graph for this function:

◆ confirmDeleteObject()

ilObjRoleFolderGUI::confirmDeleteObject ( )
protected

Confirm deletion of roles.

Definition at line 605 of file class.ilObjRoleFolderGUI.php.

References ilObjRole\_getTranslation(), ilObject\_lookupTitle(), ILIAS\Repository\ctrl(), initRolesFromPOST(), and ILIAS\Repository\lng().

605  : void
606  {
607  $roles = $this->initRolesFromPOST();
608  if ($roles === []) {
609  $this->tpl->setOnScreenMessage('failure', $this->lng->txt('select_one'), true);
610  $this->ctrl->redirect($this, 'view');
611  }
612 
613  $question = $this->lng->txt('rbac_role_delete_qst');
614 
615  $confirm = new ilConfirmationGUI();
616  $confirm->setHeaderText($question);
617  $confirm->setFormAction($this->ctrl->getFormAction($this));
618  $confirm->setHeaderText($this->lng->txt("info_delete_sure"));
619  $confirm->setConfirm($this->lng->txt('delete'), 'deleteRole');
620  $confirm->setCancel($this->lng->txt('cancel'), 'cancel');
621 
622  foreach ($roles as $role_id) {
623  $confirm->addItem(
624  'roles[]',
625  (string) $role_id,
627  );
628  }
629  $this->tpl->setContent($confirm->getHTML());
630  }
static _lookupTitle(int $obj_id)
static _getTranslation(string $a_role_title)
+ Here is the call graph for this function:

◆ deleteRoleObject()

ilObjRoleFolderGUI::deleteRoleObject ( )
protected

Delete roles.

Definition at line 635 of file class.ilObjRoleFolderGUI.php.

References ilObjectGUI\$id, ILIAS\Repository\ctrl(), ilObjectFactory\getInstanceByObjId(), initRolesFromPOST(), and ILIAS\Repository\lng().

635  : void
636  {
637  if (!$this->rbac_system->checkAccess('delete', $this->object->getRefId())) {
638  $this->error->raiseError(
639  $this->lng->txt('msg_no_perm_delete'),
640  $this->error->MESSAGE
641  );
642  }
643 
644  foreach ($this->initRolesFromPOST() as $id) {
645  // instatiate correct object class (role or rolt)
647 
648  if ($obj->getType() == "role") {
649  $rolf_arr = $this->rbac_review->getFoldersAssignedToRole($obj->getId(), true);
650  $obj->setParent($rolf_arr[0]);
651  }
652 
653  $obj->delete();
654  }
655 
656  // set correct return location if rolefolder is removed
657  $this->tpl->setOnScreenMessage('success', $this->lng->txt("msg_deleted_roles_rolts"), true);
658  $this->ctrl->redirect($this, 'view');
659  }
static getInstanceByObjId(?int $obj_id, bool $stop_on_error=true)
get an instance of an Ilias object by object id
+ Here is the call graph for this function:

◆ doAddRolePermissions()

ilObjRoleFolderGUI::doAddRolePermissions ( int  $source,
int  $target 
)
protected

do add role permission

Definition at line 471 of file class.ilObjRoleFolderGUI.php.

Referenced by adjustRoleObject().

471  : void
472  {
473  $source_definition = $this->rbac_review->getRoleFolderOfRole($source);
474  $this->rbacadmin->copyRolePermissionUnion(
475  $source,
476  $source_definition,
477  $target,
478  $this->rbac_review->getRoleFolderOfRole($target),
479  $target,
480  $this->rbac_review->getRoleFolderOfRole($target)
481  );
482  }
+ Here is the caller graph for this function:

◆ doChangeExistingObjects()

ilObjRoleFolderGUI::doChangeExistingObjects ( int  $a_start_obj,
int  $a_target_role,
int  $a_operation_mode,
int  $a_source_role 
)
protected

Do change existing objects.

Definition at line 540 of file class.ilObjRoleFolderGUI.php.

References ilLogLevel\DEBUG, ILIAS\Repository\logger(), ilObjRole\MODE_PROTECTED_KEEP_LOCAL_POLICIES, ilObjRole\MODE_READ_OPERATIONS, ilObjRole\MODE_UNPROTECTED_KEEP_LOCAL_POLICIES, and ilLogLevel\WARNING.

Referenced by adjustRoleObject().

545  : void {
546  if (!$a_start_obj) {
547  $this->logger->warning('Missing parameter start object.');
548  $this->logger->logStack(\ilLogLevel::WARNING);
549  throw new InvalidArgumentException('Missing parameter: start object');
550  }
551  // the mode is unchanged and read out from the target object
552  $target_ref_id = $this->rbac_review->getRoleFolderOfRole($a_target_role);
553  if ($this->rbac_review->isProtected($target_ref_id, $a_target_role)) {
555  } else {
557  }
558  $operation_stack = [];
559  if ($a_operation_mode !== \ilObjRole::MODE_READ_OPERATIONS) {
560  $operation_stack[] = $this->rbac_review->getAllOperationsOfRole($a_source_role, $this->ref_id);
561  }
562  $this->logger->debug('Current operation stack');
563  $this->logger->dump($operation_stack, ilLogLevel::DEBUG);
564 
565  $role = new ilObjRole($a_target_role);
566  $role->changeExistingObjects(
567  $a_start_obj,
568  $mode,
569  ['all'],
570  [],
571  $a_operation_mode,
572  $operation_stack
573  );
574  }
Class ilObjRole.
const MODE_PROTECTED_KEEP_LOCAL_POLICIES
const MODE_READ_OPERATIONS
const MODE_UNPROTECTED_KEEP_LOCAL_POLICIES
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ doCopyRole()

ilObjRoleFolderGUI::doCopyRole ( int  $source,
int  $target 
)
protected

Perform copy of role.

Definition at line 524 of file class.ilObjRoleFolderGUI.php.

Referenced by adjustRoleObject().

524  : void
525  {
526  $target_obj = $this->rbac_review->getRoleFolderOfRole($target);
527  $source_obj = $this->rbac_review->getRoleFolderOfRole($source);
528  // Copy role template permissions
529  $this->rbacadmin->copyRoleTemplatePermissions(
530  $source,
531  $source_obj,
532  $target_obj,
533  $target
534  );
535  }
+ Here is the caller graph for this function:

◆ doRemoveRolePermissions()

ilObjRoleFolderGUI::doRemoveRolePermissions ( int  $source,
int  $target 
)
protected

do add role permission

Definition at line 508 of file class.ilObjRoleFolderGUI.php.

References ILIAS\Repository\logger().

Referenced by adjustRoleObject(), and removeRolePermissionsObject().

508  : void
509  {
510  $this->logger->debug('Remove permission source: ' . $source);
511  $this->logger->debug('Remove permission target: ' . $target);
512  $source_obj = $this->rbac_review->getRoleFolderOfRole($source);
513  $this->rbacadmin->copyRolePermissionSubtract(
514  $source,
515  $source_obj,
516  $target,
517  $this->rbac_review->getRoleFolderOfRole($target)
518  );
519  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ editSettingsObject()

ilObjRoleFolderGUI::editSettingsObject ( ?ilPropertyFormGUI  $a_form = null)

Definition at line 698 of file class.ilObjRoleFolderGUI.php.

References initSettingsForm(), and null.

Referenced by saveSettingsObject().

698  : void
699  {
700  if ($a_form === null) {
701  $a_form = $this->initSettingsForm();
702  }
703 
704  $this->tpl->setContent($a_form->getHTML());
705  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ executeCommand()

ilObjRoleFolderGUI::executeCommand ( )

Definition at line 65 of file class.ilObjRoleFolderGUI.php.

References ILIAS\Repository\ctrl(), and ilObjectGUI\prepareOutput().

65  : void
66  {
67  $next_class = $this->ctrl->getNextClass($this);
68  $cmd = $this->ctrl->getCmd();
69  $this->prepareOutput();
70 
71  switch ($next_class) {
72  case 'ilpermissiongui':
73  $perm_gui = new ilPermissionGUI($this);
74  $ret = $this->ctrl->forwardCommand($perm_gui);
75  break;
76 
77  default:
78  $this->ctrl->setReturn($this, "view");
79  if (!$cmd) {
80  $cmd = "view";
81  }
82  $cmd .= "Object";
83  $this->$cmd();
84 
85  break;
86  }
87  }
prepareOutput(bool $show_sub_objects=true)
+ Here is the call graph for this function:

◆ getAdminTabs()

ilObjRoleFolderGUI::getAdminTabs ( )

Add role folder tabs.

Parameters
ilTabsGUI$tabs_guiilLanguage $lng ilTree $tree

Definition at line 667 of file class.ilObjRoleFolderGUI.php.

References ilObjectGUI\checkPermissionBool(), and ILIAS\Repository\ctrl().

667  : void
668  {
669  if ($this->checkPermissionBool("visible,read")) {
670  $this->tabs_gui->addTarget(
671  "view",
672  $this->ctrl->getLinkTarget($this, "view"),
673  ["", "view"],
674  get_class($this)
675  );
676 
677  $this->tabs_gui->addTarget(
678  "settings",
679  $this->ctrl->getLinkTarget($this, "editSettings"),
680  ["editSettings"],
681  get_class($this)
682  );
683  }
684 
685  if ($this->checkPermissionBool("edit_permission")) {
686  $this->tabs_gui->addTarget(
687  "perm_settings",
688  $this->ctrl->getLinkTargetByClass(
689  [get_class($this), 'ilpermissiongui'],
690  "perm"
691  ),
692  "",
693  "ilpermissiongui"
694  );
695  }
696  }
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
+ Here is the call graph for this function:

◆ initCopyBehaviourForm()

ilObjRoleFolderGUI::initCopyBehaviourForm ( )
protected

Show copy behaviour form.

Definition at line 289 of file class.ilObjRoleFolderGUI.php.

References ILIAS\Repository\ctrl(), initRolesFromPOST(), and ILIAS\Repository\lng().

Referenced by adjustRoleObject(), chooseCopyBehaviourObject(), and removeRolePermissionsObject().

290  {
291  // not only for role templates; add/remove permissions is also applicable for roles
292  $full_featured = true;
293 
294  $form = new ilPropertyFormGUI();
295  $form->setTitle($this->lng->txt('rbac_copy_behaviour'));
296  $form->setFormAction($this->ctrl->getFormAction($this, 'chooseCopyBehaviour'));
297 
298  $copy_type = new \ilRadioGroupInputGUI(
299  $this->lng->txt('rbac_form_copy_roles_adjust_type'),
300  'type'
301  );
302  $copy_type->setRequired(true);
303  $copy_type->setValue((string) self::COPY_CLONE_PERMISSIONS);
304 
305  if ($full_featured) {
306  $add = new \ilRadioOption(
307  $this->lng->txt('rbac_form_copy_roles_adjust_type_add'),
308  (string) self::COPY_ADD_PERMISSIONS,
309  $this->lng->txt('rbac_form_copy_roles_adjust_type_add_info')
310  );
311  $copy_type->addOption($add);
312 
313  $ce_type_add = new \ilRadioGroupInputGUI(
314  '',
315  'add_ce_type'
316  );
317  $ce_type_add->setRequired(true);
318  $ce_add_yes = new \ilRadioOption(
319  $this->lng->txt('rbac_form_copy_roles_ce_add_yes'),
320  (string) self::COPY_CHANGE_EXISTING_OBJECTS,
321  $this->lng->txt('rbac_form_copy_roles_ce_add_yes_info')
322  );
323  $ce_type_add->addOption($ce_add_yes);
324  $ce_add_no = new \ilRadioOption(
325  $this->lng->txt('rbac_form_copy_roles_ce_add_no'),
326  (string) 0,
327  $this->lng->txt('rbac_form_copy_roles_ce_add_no_info')
328  );
329  $ce_type_add->addOption($ce_add_no);
330  $add->addSubItem($ce_type_add);
331  }
332  $clone = new \ilRadioOption(
333  $this->lng->txt('rbac_form_copy_roles_adjust_type_clone'),
334  (string) self::COPY_CLONE_PERMISSIONS,
335  $this->lng->txt('rbac_form_copy_roles_adjust_type_clone_info')
336  );
337  $copy_type->addOption($clone);
338 
339  $ce_type_clone = new \ilRadioGroupInputGUI(
340  '',
341  'clone_ce_type'
342  );
343  $ce_type_clone->setRequired(true);
344  $ce_clone_yes = new \ilRadioOption(
345  $this->lng->txt('rbac_form_copy_roles_ce_clone_yes'),
346  (string) self::COPY_CHANGE_EXISTING_OBJECTS,
347  $this->lng->txt('rbac_form_copy_roles_ce_clone_yes_info')
348  );
349  $ce_type_clone->addOption($ce_clone_yes);
350  $ce_clone_no = new \ilRadioOption(
351  $this->lng->txt('rbac_form_copy_roles_ce_clone_no'),
352  (string) 0,
353  $this->lng->txt('rbac_form_copy_roles_ce_clone_no_info')
354  );
355  $ce_type_clone->addOption($ce_clone_no);
356  $clone->addSubItem($ce_type_clone);
357 
358  if ($full_featured) {
359  $remove = new \ilRadioOption(
360  $this->lng->txt('rbac_form_copy_roles_adjust_type_remove'),
361  (string) self::COPY_REMOVE_PERMISSIONS,
362  $this->lng->txt('rbac_form_copy_roles_adjust_type_remove_info')
363  );
364  $copy_type->addOption($remove);
365  $ce_type_remove = new \ilRadioGroupInputGUI(
366  '',
367  'remove_ce_type'
368  );
369  $ce_type_remove->setRequired(true);
370  $ce_remove_yes = new \ilRadioOption(
371  $this->lng->txt('rbac_form_copy_roles_ce_remove_yes'),
372  (string) self::COPY_CHANGE_EXISTING_OBJECTS,
373  $this->lng->txt('rbac_form_copy_roles_ce_remove_yes_info')
374  );
375  $ce_type_remove->addOption($ce_remove_yes);
376  $ce_remove_no = new \ilRadioOption(
377  $this->lng->txt('rbac_form_copy_roles_ce_remove_no'),
378  (string) 0,
379  $this->lng->txt('rbac_form_copy_roles_ce_remove_no_info')
380  );
381  $ce_type_remove->addOption($ce_remove_no);
382  $remove->addSubItem($ce_type_remove);
383  }
384 
385  $form->addItem($copy_type);
386 
387  $roles = new ilHiddenInputGUI('roles');
388  $roles->setValue(implode(',', $this->initRolesFromPOST()));
389  $form->addItem($roles);
390 
391  $form->addCommandButton('roleSearchList', $this->lng->txt('back'));
392  $form->addCommandButton('adjustRole', $this->lng->txt('rbac_form_copy_roles_adjust_button'));
393  return $form;
394  }
This class represents a hidden form property in a property form.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initCopySourceFromGET()

ilObjRoleFolderGUI::initCopySourceFromGET ( )
protected

Definition at line 89 of file class.ilObjRoleFolderGUI.php.

References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().

Referenced by adjustRoleObject(), chooseCopyBehaviourObject(), removeRolePermissionsObject(), roleSearchFormObject(), roleSearchListObject(), and roleSearchObject().

89  : int
90  {
91  if ($this->http->wrapper()->query()->has('csource')) {
92  return $this->http->wrapper()->query()->retrieve(
93  'csource',
94  $this->refinery->kindlyTo()->int()
95  );
96  }
97  return 0;
98  }
static http()
Fetches the global http state from ILIAS.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initRoleSearchForm()

ilObjRoleFolderGUI::initRoleSearchForm ( )
protected

Init role search form.

Definition at line 203 of file class.ilObjRoleFolderGUI.php.

References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().

Referenced by roleSearchFormObject(), and roleSearchObject().

204  {
205  $form = new ilPropertyFormGUI();
206  $form->setTitle($this->lng->txt('rbac_role_title'));
207  $form->setFormAction($this->ctrl->getFormAction($this, 'view'));
208 
209  $search = new ilTextInputGUI($this->lng->txt('title'), 'title');
210  $search->setRequired(true);
211  $search->setSize(30);
212  $search->setMaxLength(255);
213  $form->addItem($search);
214 
215  $form->addCommandButton('roleSearchForm', $this->lng->txt('search'));
216  return $form;
217  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initRolesFromPOST()

ilObjRoleFolderGUI::initRolesFromPOST ( )
protected
Returns
int[]

Definition at line 103 of file class.ilObjRoleFolderGUI.php.

References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().

Referenced by adjustRoleObject(), confirmDeleteObject(), deleteRoleObject(), initCopyBehaviourForm(), and removeRolePermissionsObject().

103  : array
104  {
105  if ($this->http->wrapper()->post()->has('roles')) {
106  return $this->http->wrapper()->post()->retrieve(
107  'roles',
108  $this->refinery->byTrying([
109  $this->refinery->kindlyTo()->listOf(
110  $this->refinery->kindlyTo()->int()
111  ),
112  $this->refinery->in()->series([
113  $this->refinery->custom()->transformation(function ($v) {
114  return explode(',', $v);
115  }),
116  $this->refinery->kindlyTo()->listOf(
117  $this->refinery->kindlyTo()->int()
118  )
119  ])
120  ])
121  );
122  }
123  return [];
124  }
static http()
Fetches the global http state from ILIAS.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initSettingsForm()

ilObjRoleFolderGUI::initSettingsForm ( )
protected

Definition at line 737 of file class.ilObjRoleFolderGUI.php.

References $check, $DIC, $GLOBALS, ilObjectGUI\$user, ilSecuritySettings\_getInstance(), ILIAS\Repository\ctrl(), ilObject\getId(), ilPrivacySettings\getInstance(), ILIAS\Repository\lng(), ilFormPropertyGUI\setInfo(), and SYSTEM_ROLE_ID.

Referenced by editSettingsObject(), and saveSettingsObject().

738  {
739  global $DIC;
740 
741  $user = $DIC->user();
742 
743  $this->lng->loadLanguageModule('ps');
744 
745  $privacy = ilPrivacySettings::getInstance();
746  $security = ilSecuritySettings::_getInstance();
747 
748  $form = new ilPropertyFormGUI();
749  $form->setFormAction($this->ctrl->getFormAction($this, "saveSettings"));
750  $form->setTitle($this->lng->txt('settings'));
751 
752  // protected admin
753  $admin = new ilCheckboxInputGUI($GLOBALS['DIC']['lng']->txt('adm_adm_role_protect'), 'admin_role');
754  $admin->setDisabled(!$this->rbac_review->isAssigned($user->getId(), SYSTEM_ROLE_ID));
755  $admin->setInfo($this->lng->txt('adm_adm_role_protect_info'));
756  $admin->setChecked($security->isAdminRoleProtected());
757  $admin->setValue((string) 1);
758  $form->addItem($admin);
759 
760  $check = new ilCheckboxInputGUI($this->lng->txt('rbac_log'), 'rbac_log');
761  $check->setInfo($this->lng->txt('rbac_log_info'));
762  $check->setChecked($privacy->enabledRbacLog());
763  $form->addItem($check);
764 
765  $age = new ilNumberInputGUI($this->lng->txt('rbac_log_age'), 'rbac_log_age');
766  $age->setInfo($this->lng->txt('rbac_log_age_info'));
767  $age->setValue((string) $privacy->getRbacLogAge());
768  $age->setMinValue(1);
769  $age->setMaxValue(24);
770  $age->setSize(2);
771  $age->setMaxLength(2);
772  $check->addSubItem($age);
773 
774  $form->addCommandButton('saveSettings', $this->lng->txt('save'));
775 
776  return $form;
777  }
const SYSTEM_ROLE_ID
Definition: constants.php:29
$GLOBALS["DIC"]
Definition: wac.php:53
This class represents a number property in a property form.
global $DIC
Definition: shib_login.php:22
$check
Definition: buildRTE.php:81
static _getInstance()
Get instance of ilSecuritySettings.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ removeRolePermissionsObject()

ilObjRoleFolderGUI::removeRolePermissionsObject ( )
protected

Remove role permissions.

Definition at line 487 of file class.ilObjRoleFolderGUI.php.

References ILIAS\Repository\ctrl(), doRemoveRolePermissions(), initCopyBehaviourForm(), initCopySourceFromGET(), initRolesFromPOST(), and ILIAS\Repository\lng().

487  : void
488  {
489  // Finally copy role/rolt
490  $roles = $this->initRolesFromPOST();
491  $source = $this->initCopySourceFromGET();
492 
493  $form = $this->initCopyBehaviourForm();
494  if ($form->checkInput()) {
495  foreach ((array) $roles as $role_id) {
496  if ($role_id !== $source) {
497  $this->doRemoveRolePermissions($source, $role_id);
498  }
499  }
500  $this->tpl->setOnScreenMessage('success', $this->lng->txt('rbac_copy_finished'), true);
501  $this->ctrl->redirect($this, 'view');
502  }
503  }
doRemoveRolePermissions(int $source, int $target)
do add role permission
initCopyBehaviourForm()
Show copy behaviour form.
+ Here is the call graph for this function:

◆ resetFilterObject()

ilObjRoleFolderGUI::resetFilterObject ( )

Reset role filter.

Definition at line 592 of file class.ilObjRoleFolderGUI.php.

References viewObject().

592  : void
593  {
594  $table = new ilRoleTableGUI($this, 'view');
595  $table->init();
596  $table->resetOffset();
597  $table->resetFilter();
598 
599  $this->viewObject();
600  }
TableGUI for the presentation og roles and role templates.
+ Here is the call graph for this function:

◆ returnObject()

ilObjRoleFolderGUI::returnObject ( )

Definition at line 126 of file class.ilObjRoleFolderGUI.php.

References viewObject().

126  : void
127  {
128  $this->viewObject();
129  }
+ Here is the call graph for this function:

◆ roleSearchFormObject()

ilObjRoleFolderGUI::roleSearchFormObject ( )
protected

Parse search query.

Definition at line 222 of file class.ilObjRoleFolderGUI.php.

References ILIAS\Repository\ctrl(), initCopySourceFromGET(), initRoleSearchForm(), ILIAS\Repository\lng(), roleSearchListObject(), and ilSession\set().

222  : void
223  {
224  ilSession::set('rolf_search_query', '');
225  $this->ctrl->setParameter($this, 'csource', $this->initCopySourceFromGET());
226 
227  $form = $this->initRoleSearchForm();
228  if ($form->checkInput()) {
229  ilSession::set('rolf_search_query', $form->getInput('title'));
230  $this->roleSearchListObject();
231  return;
232  }
233 
234  $this->tpl->setOnScreenMessage('failure', $this->lng->txt('msg_no_search_string'), true);
235  $form->setValuesByPost();
236  $this->ctrl->redirect($this, 'roleSearch');
237  }
initRoleSearchForm()
Init role search form.
static set(string $a_var, $a_val)
Set a value.
+ Here is the call graph for this function:

◆ roleSearchListObject()

ilObjRoleFolderGUI::roleSearchListObject ( )
protected

List roles.

Definition at line 242 of file class.ilObjRoleFolderGUI.php.

References ILIAS\Repository\ctrl(), ilSession\get(), initCopySourceFromGET(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ilRoleTableGUI\TYPE_SEARCH.

Referenced by roleSearchFormObject().

242  : void
243  {
244  $this->tabs_gui->clearTargets();
245  $this->tabs_gui->setBackTarget(
246  $this->lng->txt('rbac_back_to_overview'),
247  $this->ctrl->getLinkTarget($this, 'view')
248  );
249 
250  $this->ctrl->setParameter($this, 'csource', $this->initCopySourceFromGET());
251 
252  if (strlen(ilSession::get('rolf_search_query'))) {
253  $this->tpl->setOnScreenMessage('info', $this->lng->txt('rbac_select_copy_targets'));
254  $table = new ilRoleTableGUI($this, 'roleSearchList');
255  $table->setType(ilRoleTableGUI::TYPE_SEARCH);
256  $table->setRoleTitleFilter(ilSession::get('rolf_search_query'));
257  $table->init();
258  $table->parse($this->object->getId());
259  $this->tpl->setContent($table->getHTML());
260  return;
261  }
262 
263  $this->tpl->setOnScreenMessage('failure', $this->lng->txt('msg_no_search_string'), true);
264  $this->ctrl->redirect($this, 'roleSearch');
265  }
static get(string $a_var)
TableGUI for the presentation og roles and role templates.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ roleSearchObject()

ilObjRoleFolderGUI::roleSearchObject ( )
protected

Search target roles.

Definition at line 181 of file class.ilObjRoleFolderGUI.php.

References ILIAS\Repository\ctrl(), initCopySourceFromGET(), initRoleSearchForm(), and ILIAS\Repository\lng().

181  : void
182  {
183  $this->tabs_gui->clearTargets();
184  $this->tabs_gui->setBackTarget(
185  $this->lng->txt('rbac_back_to_overview'),
186  $this->ctrl->getLinkTarget($this, 'view')
187  );
188 
189  if (!$this->rbac_system->checkAccess('visible,read', $this->object->getRefId())) {
190  $this->error->raiseError($this->lng->txt('permission_denied'), $this->error->MESSAGE);
191  }
192 
193  $this->ctrl->setParameter($this, 'csource', $this->initCopySourceFromGET());
194  $this->tpl->setOnScreenMessage('info', $this->lng->txt('rbac_choose_copy_targets'));
195 
196  $form = $this->initRoleSearchForm();
197  $this->tpl->setContent($form->getHTML());
198  }
initRoleSearchForm()
Init role search form.
+ Here is the call graph for this function:

◆ saveSettingsObject()

ilObjRoleFolderGUI::saveSettingsObject ( )

Definition at line 707 of file class.ilObjRoleFolderGUI.php.

References $DIC, ilObjectGUI\$user, ilSecuritySettings\_getInstance(), ilObjectGUI\checkPermissionBool(), ILIAS\Repository\ctrl(), editSettingsObject(), ilObject\getId(), ilPrivacySettings\getInstance(), initSettingsForm(), ILIAS\Repository\lng(), and SYSTEM_ROLE_ID.

707  : void
708  {
709  global $DIC;
710 
711  $user = $DIC->user();
712 
713  if (!$this->checkPermissionBool("write")) {
714  $this->error->raiseError($this->lng->txt('permission_denied'), $this->error->MESSAGE);
715  }
716 
717  $form = $this->initSettingsForm();
718  if ($form->checkInput()) {
719  $privacy = ilPrivacySettings::getInstance();
720  $privacy->enableRbacLog((bool) $form->getInput('rbac_log'));
721  $privacy->setRbacLogAge((int) $form->getInput('rbac_log_age'));
722  $privacy->save();
723 
724  if ($this->rbac_review->isAssigned($user->getId(), SYSTEM_ROLE_ID)) {
725  $security = ilSecuritySettings::_getInstance();
726  $security->protectedAdminRole((bool) $form->getInput('admin_role'));
727  $security->save();
728  }
729  $this->tpl->setOnScreenMessage('success', $this->lng->txt("settings_saved"), true);
730  $this->ctrl->redirect($this, "editSettings");
731  }
732 
733  $form->setValuesByPost();
734  $this->editSettingsObject($form);
735  }
const SYSTEM_ROLE_ID
Definition: constants.php:29
editSettingsObject(?ilPropertyFormGUI $a_form=null)
global $DIC
Definition: shib_login.php:22
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
static _getInstance()
Get instance of ilSecuritySettings.
+ Here is the call graph for this function:

◆ viewObject()

ilObjRoleFolderGUI::viewObject ( )

Definition at line 131 of file class.ilObjRoleFolderGUI.php.

References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\toolbar().

Referenced by applyFilterObject(), resetFilterObject(), and returnObject().

131  : void
132  {
133  $this->tabs_gui->activateTab('view');
134 
135  if (!$this->rbac_system->checkAccess('visible,read', $this->object->getRefId())) {
136  $this->error->raiseError($this->lng->txt('permission_denied'), $this->error->MESSAGE);
137  }
138 
139  if ($this->rbac_system->checkAccess('create_role', $this->object->getRefId())) {
140  $this->ctrl->setParameter($this, 'new_type', 'role');
141  $this->toolbar->addComponent(
142  $this->ui_factory->link()->standard(
143  $this->lng->txt('rolf_create_role'),
144  $this->ctrl->getLinkTargetByClass(ilObjRoleGUI::class, 'create')
145  )
146  );
147  }
148  if ($this->rbac_system->checkAccess('create_rolt', $this->object->getRefId())) {
149  $this->ctrl->setParameter($this, 'new_type', 'rolt');
150  $this->toolbar->addComponent(
151  $this->ui_factory->link()->standard(
152  $this->lng->txt('rolf_create_rolt'),
153  $this->ctrl->getLinkTargetByClass(ilObjRoleTemplateGUI::class, 'create')
154  )
155  );
156  $this->ctrl->clearParameters($this);
157  }
158 
159  if (
160  $this->rbac_system->checkAccess('create_rolt', $this->object->getRefId()) ||
161  $this->rbac_system->checkAccess('create_rolt', $this->object->getRefId())
162  ) {
163  $this->toolbar->addComponent(
164  $this->ui_factory->link()->standard(
165  $this->lng->txt('rbac_import_role'),
166  $this->ctrl->getLinkTargetByClass('ilPermissionGUI', 'displayImportRoleForm')
167  )
168  );
169  }
170 
171  $table = new ilRoleTableGUI($this, 'view');
172  $table->init();
173  $table->parse($this->object->getId());
174 
175  $this->tpl->setContent($table->getHTML());
176  }
TableGUI for the presentation og roles and role templates.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $http

GlobalHttpState ilObjRoleFolderGUI::$http
protected

Definition at line 42 of file class.ilObjRoleFolderGUI.php.

◆ $logger

ilLogger ilObjRoleFolderGUI::$logger
private

Definition at line 39 of file class.ilObjRoleFolderGUI.php.

◆ $rbacadmin

ilRbacAdmin ilObjRoleFolderGUI::$rbacadmin
protected

Definition at line 40 of file class.ilObjRoleFolderGUI.php.

◆ $refinery

Factory ilObjRoleFolderGUI::$refinery
protected

Definition at line 43 of file class.ilObjRoleFolderGUI.php.

◆ $ui_factory

UIFactory ilObjRoleFolderGUI::$ui_factory
protected

Definition at line 44 of file class.ilObjRoleFolderGUI.php.

◆ COPY_ADD_PERMISSIONS

const ilObjRoleFolderGUI::COPY_ADD_PERMISSIONS = 1
private

Definition at line 34 of file class.ilObjRoleFolderGUI.php.

◆ COPY_CHANGE_EXISTING_OBJECTS

const ilObjRoleFolderGUI::COPY_CHANGE_EXISTING_OBJECTS = 1
private

Definition at line 37 of file class.ilObjRoleFolderGUI.php.

◆ COPY_CLONE_PERMISSIONS

const ilObjRoleFolderGUI::COPY_CLONE_PERMISSIONS = 2
private

Definition at line 35 of file class.ilObjRoleFolderGUI.php.

◆ COPY_REMOVE_PERMISSIONS

const ilObjRoleFolderGUI::COPY_REMOVE_PERMISSIONS = 3
private

Definition at line 36 of file class.ilObjRoleFolderGUI.php.


The documentation for this class was generated from the following file: