|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output. More...
Inheritance diagram for ilPermissionGUI:
Collaboration diagram for ilPermissionGUI:Public Member Functions | |
| __construct ($a_gui_obj) | |
| Constructor. More... | |
| executeCommand () | |
| Execute command. More... | |
| getCurrentObject () | |
| Get current object. More... | |
| perm (ilTable2GUI $table=null) | |
| show permission table More... | |
| applyRoleFilter ($a_roles, $a_filter_id) | |
| Apply filter to roles. More... | |
Public Member Functions inherited from ilPermission2GUI | |
| __construct ($a_gui_obj) | |
| owner () | |
| changeOwner () | |
| __initSubTabs ($a_cmd) | |
| log () | |
| applyLogFilter () | |
| resetLogFilter () | |
Static Public Member Functions | |
| static | hasContainerCommands ($a_type) |
| Check if container commands are possible for the current object type. More... | |
Data Fields | |
| const | CMD_PERM_POSITIONS = 'permPositions' |
| const | CMD_SAVE_POSITIONS_PERMISSIONS = 'savePositionsPermissions' |
Data Fields inherited from ilPermission2GUI | |
| const | TAB_POSITION_PERMISSION_SETTINGS = "position_permission_settings" |
Protected Member Functions | |
| confirmTemplateSwitch () | |
| Called after toolbar action applyTemplateSwitch. More... | |
| isAdminRoleFolder () | |
| Check of current location is administration (main) role folder. More... | |
| isAdministrationObject () | |
| isInAdministration () | |
| Check if node is subobject of administration folder. More... | |
| applyFilter () | |
| Apply filter. More... | |
| resetFilter () | |
| Reset filter. More... | |
| savePermissions () | |
| Save permissions. More... | |
| showConfirmBlockRole ($a_blocked_info) | |
| Show block role confirmation screen. More... | |
| modifyBlockRoles () | |
| unblockRoles ($roles) | |
| blockRoles ($roles) | |
| Block role. More... | |
| displayImportRoleForm (ilPropertyFormGUI $form=null) | |
| Show import form. More... | |
| doImportRole () | |
| Perform import. More... | |
| initImportForm () | |
| init import form More... | |
| initRoleForm () | |
| Shoew add role @global type $rbacreview @global type $objDefinition. More... | |
| displayAddRoleForm () | |
| Show add role form. More... | |
| addRole () | |
| adds a local role This method is only called when choose the option 'you may add local roles'. More... | |
| getModifiedBlockedSettings () | |
| permPositions () | |
| savePositionsPermissions () | |
Protected Attributes | |
| $current_obj = null | |
| $recommended_content_manager | |
Protected Attributes inherited from ilPermission2GUI | |
| $gui_obj = null | |
| $ilErr = null | |
| $ctrl = null | |
| $lng = null | |
| $tpl | |
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.
@ilCtrl_Calls ilPermissionGUI: ilObjRoleGUI, ilRepositorySearchGUI, ilObjectPermissionStatusGUI
Definition at line 19 of file class.ilPermissionGUI.php.
| ilPermissionGUI::__construct | ( | $a_gui_obj | ) |
Constructor.
| object | $a_gui_obj |
Reimplemented from ilPermission2GUI.
Definition at line 36 of file class.ilPermissionGUI.php.
References ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:
|
protected |
adds a local role This method is only called when choose the option 'you may add local roles'.
This option is displayed in the permission settings dialogue for an object TODO: this will be changed @access public
Definition at line 750 of file class.ilPermissionGUI.php.
References $DIC, $GLOBALS, ilPermission2GUI\$ilErr, getCurrentObject(), initRoleForm(), ilObjRole\MODE_PROTECTED_KEEP_LOCAL_POLICIES, and ilObjRole\MODE_UNPROTECTED_KEEP_LOCAL_POLICIES.
Here is the call graph for this function:
|
protected |
Apply filter.
Definition at line 194 of file class.ilPermissionGUI.php.
References getCurrentObject(), and perm().
Here is the call graph for this function:| ilPermissionGUI::applyRoleFilter | ( | $a_roles, | |
| $a_filter_id | |||
| ) |
Apply filter to roles.
| int | $a_filter_id |
Definition at line 222 of file class.ilPermissionGUI.php.
References $DIC, $GLOBALS, getCurrentObject(), ilObjectRolePermissionTableGUI\ROLE_FILTER_ALL, ilObjectRolePermissionTableGUI\ROLE_FILTER_GLOBAL, ilObjectRolePermissionTableGUI\ROLE_FILTER_LOCAL, ilObjectRolePermissionTableGUI\ROLE_FILTER_LOCAL_OBJECT, ilObjectRolePermissionTableGUI\ROLE_FILTER_LOCAL_POLICY, and SYSTEM_ROLE_ID.
Referenced by savePermissions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Block role.
Definition at line 518 of file class.ilPermissionGUI.php.
References $DIC, and getCurrentObject().
Referenced by modifyBlockRoles().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Called after toolbar action applyTemplateSwitch.
Definition at line 112 of file class.ilPermissionGUI.php.
|
protected |
Show add role form.
Definition at line 734 of file class.ilPermissionGUI.php.
References $GLOBALS, and initRoleForm().
Here is the call graph for this function:
|
protected |
Show import form.
| ilPropertyFormGUI | $form |
Definition at line 570 of file class.ilPermissionGUI.php.
References $GLOBALS, and initImportForm().
Referenced by doImportRole().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Perform import.
Definition at line 583 of file class.ilPermissionGUI.php.
References $DIC, Vendor\Package\$e, displayImportRoleForm(), getCurrentObject(), initImportForm(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilPermissionGUI::executeCommand | ( | ) |
Execute command.
Definition at line 47 of file class.ilPermissionGUI.php.
References $_GET, $DIC, $ret, and ilPermission2GUI\__initSubTabs().
Here is the call graph for this function:| ilPermissionGUI::getCurrentObject | ( | ) |
Get current object.
Definition at line 104 of file class.ilPermissionGUI.php.
Referenced by addRole(), applyFilter(), applyRoleFilter(), blockRoles(), doImportRole(), getModifiedBlockedSettings(), initRoleForm(), isAdministrationObject(), isAdminRoleFolder(), isInAdministration(), perm(), permPositions(), resetFilter(), savePermissions(), savePositionsPermissions(), and unblockRoles().
Here is the caller graph for this function:
|
protected |
| type | $a_blocked_info |
Definition at line 825 of file class.ilPermissionGUI.php.
References $_POST, $DIC, and getCurrentObject().
Referenced by savePermissions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Check if container commands are possible for the current object type.
| object | $a_type |
Definition at line 557 of file class.ilPermissionGUI.php.
References $DIC.
Referenced by ilObjectRolePermissionTableGUI\parse(), and savePermissions().
Here is the caller graph for this function:
|
protected |
init import form
Definition at line 627 of file class.ilPermissionGUI.php.
Referenced by displayImportRoleForm(), and doImportRole().
Here is the caller graph for this function:
|
protected |
Shoew add role @global type $rbacreview @global type $objDefinition.
Definition at line 649 of file class.ilPermissionGUI.php.
References $DIC, ilObjRole\_getTranslation(), ilUtil\_sortIds(), getCurrentObject(), isInAdministration(), and SYSTEM_ROLE_ID.
Referenced by addRole(), and displayAddRoleForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 175 of file class.ilPermissionGUI.php.
References getCurrentObject().
Here is the call graph for this function:
|
protected |
Check of current location is administration (main) role folder.
Definition at line 170 of file class.ilPermissionGUI.php.
References getCurrentObject(), and ROLE_FOLDER_ID.
Referenced by perm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Check if node is subobject of administration folder.
Definition at line 184 of file class.ilPermissionGUI.php.
References $GLOBALS, getCurrentObject(), and SYSTEM_FOLDER_ID.
Referenced by initRoleForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 474 of file class.ilPermissionGUI.php.
References $_POST, blockRoles(), ilUtil\sendInfo(), and unblockRoles().
Here is the call graph for this function:| ilPermissionGUI::perm | ( | ilTable2GUI | $table = null | ) |
show permission table
Definition at line 126 of file class.ilPermissionGUI.php.
References $DIC, ilPermission2GUI\__initSubTabs(), getCurrentObject(), and isAdminRoleFolder().
Referenced by applyFilter(), and resetFilter().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 853 of file class.ilPermissionGUI.php.
References ilPermission2GUI\__initSubTabs(), CMD_PERM_POSITIONS, and getCurrentObject().
Here is the call graph for this function:
|
protected |
Reset filter.
Definition at line 207 of file class.ilPermissionGUI.php.
References getCurrentObject(), and perm().
Here is the call graph for this function:
|
protected |
Save permissions.
Definition at line 294 of file class.ilPermissionGUI.php.
References $_POST, $DIC, $log, ilRbacLog\add(), applyRoleFilter(), ilRbacLog\diffFaPa(), ilRbacLog\EDIT_PERMISSIONS, ilRbacLog\gatherFaPa(), getCurrentObject(), ilObjectFactory\getInstanceByObjId(), ilLoggerFactory\getLogger(), getModifiedBlockedSettings(), hasContainerCommands(), ilRbacReview\lookupCreateOperationIds(), and showConfirmBlockRole().
Here is the call graph for this function:
|
protected |
Definition at line 865 of file class.ilPermissionGUI.php.
References $_POST, ilPermission2GUI\__initSubTabs(), ilOrgUnitOperationQueries\findById(), ActiveRecord\getArray(), and getCurrentObject().
Here is the call graph for this function:
|
protected |
Show block role confirmation screen.
| array | $a_roles |
Definition at line 433 of file class.ilPermissionGUI.php.
References ilObjRole\_getTranslation(), ilObject\_lookupTitle(), and ilUtil\sendInfo().
Referenced by savePermissions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 486 of file class.ilPermissionGUI.php.
References $DIC, getCurrentObject(), ilObjectFactory\getInstanceByObjId(), ilLoggerFactory\getLogger(), and ilObjRole\MODE_UNPROTECTED_KEEP_LOCAL_POLICIES.
Referenced by modifyBlockRoles().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 24 of file class.ilPermissionGUI.php.
|
protected |
Definition at line 29 of file class.ilPermissionGUI.php.
| const ilPermissionGUI::CMD_PERM_POSITIONS = 'permPositions' |
Definition at line 21 of file class.ilPermissionGUI.php.
Referenced by ilPermission2GUI\__initSubTabs(), and permPositions().
| const ilPermissionGUI::CMD_SAVE_POSITIONS_PERMISSIONS = 'savePositionsPermissions' |
Definition at line 22 of file class.ilPermissionGUI.php.
Referenced by ilOrgUnitPermissionTableGUI\__construct().