|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 | |
Protected Attributes inherited from ilPermission2GUI | |
| $gui_obj = null | |
| $ilErr = null | |
| $ctrl = null | |
| $lng = null | |
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 31 of file class.ilPermissionGUI.php.
|
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 737 of file class.ilPermissionGUI.php.
References $DIC, $form, $GLOBALS, $ilCtrl, ilPermission2GUI\$ilErr, ilObject\_lookupType(), 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 187 of file class.ilPermissionGUI.php.
References $table, 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 215 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, and ilObjectRolePermissionTableGUI\ROLE_FILTER_LOCAL_POLICY.
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 511 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 105 of file class.ilPermissionGUI.php.
|
protected |
Show add role form.
Definition at line 721 of file class.ilPermissionGUI.php.
References $form, $GLOBALS, and initRoleForm().
Here is the call graph for this function:
|
protected |
Show import form.
| ilPropertyFormGUI | $form |
Definition at line 563 of file class.ilPermissionGUI.php.
References $form, $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 576 of file class.ilPermissionGUI.php.
References $DIC, $form, displayImportRoleForm(), getCurrentObject(), initImportForm(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilPermissionGUI::executeCommand | ( | ) |
Execute command.
Definition at line 40 of file class.ilPermissionGUI.php.
References $_GET, $DIC, ilPermission2GUI\$ilErr, $ret, and ilPermission2GUI\__initSubTabs().
Here is the call graph for this function:| ilPermissionGUI::getCurrentObject | ( | ) |
Get current object.
Definition at line 97 of file class.ilPermissionGUI.php.
Referenced by addRole(), applyFilter(), applyRoleFilter(), blockRoles(), doImportRole(), getModifiedBlockedSettings(), 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 817 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 550 of file class.ilPermissionGUI.php.
Referenced by ilObjectRolePermissionTableGUI\parse(), and savePermissions().
Here is the caller graph for this function:
|
protected |
init import form
Definition at line 620 of file class.ilPermissionGUI.php.
References $form.
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 642 of file class.ilPermissionGUI.php.
References $DIC, $form, $id, $key, $title, ilObjRole\_getTranslation(), ilUtil\_sortIds(), and isInAdministration().
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 168 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 163 of file class.ilPermissionGUI.php.
References getCurrentObject().
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 177 of file class.ilPermissionGUI.php.
References $GLOBALS, and getCurrentObject().
Referenced by initRoleForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 467 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 119 of file class.ilPermissionGUI.php.
References $DIC, $table, 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 845 of file class.ilPermissionGUI.php.
References $table, ilPermission2GUI\__initSubTabs(), CMD_PERM_POSITIONS, and getCurrentObject().
Here is the call graph for this function:
|
protected |
Reset filter.
Definition at line 200 of file class.ilPermissionGUI.php.
References $table, getCurrentObject(), and perm().
Here is the call graph for this function:
|
protected |
Save permissions.
Definition at line 287 of file class.ilPermissionGUI.php.
References $_POST, $DIC, $log, $table, 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 857 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 426 of file class.ilPermissionGUI.php.
References $info, 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 479 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.
| 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().