|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 714 of file class.ilPermissionGUI.php.
References $form, $GLOBALS, $ilCtrl, ilPermission2GUI\$ilErr, ilObject\_lookupType(), getCurrentObject(), initRoleForm(), ilObjRole\MODE_PROTECTED_KEEP_LOCAL_POLICIES, ilObjRole\MODE_UNPROTECTED_KEEP_LOCAL_POLICIES, and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
Apply filter.
Definition at line 182 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 210 of file class.ilPermissionGUI.php.
References $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 498 of file class.ilPermissionGUI.php.
References 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 103 of file class.ilPermissionGUI.php.
|
protected |
Show add role form.
Definition at line 698 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 545 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 558 of file class.ilPermissionGUI.php.
References $form, displayImportRoleForm(), getCurrentObject(), initImportForm(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilPermissionGUI::executeCommand | ( | ) |
Execute command.
Definition at line 40 of file class.ilPermissionGUI.php.
References $_GET, ilPermission2GUI\$ilErr, $ret, and ilPermission2GUI\__initSubTabs().
Here is the call graph for this function:| ilPermissionGUI::getCurrentObject | ( | ) |
Get current object.
Definition at line 95 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 788 of file class.ilPermissionGUI.php.
References $_POST, 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 534 of file class.ilPermissionGUI.php.
References $a_type.
Referenced by ilObjectRolePermissionTableGUI\parse(), and savePermissions().
Here is the caller graph for this function:
|
protected |
init import form
Definition at line 600 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 622 of file class.ilPermissionGUI.php.
References $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 163 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 158 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 172 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 456 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 117 of file class.ilPermissionGUI.php.
References $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 814 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 195 of file class.ilPermissionGUI.php.
References $table, getCurrentObject(), and perm().
Here is the call graph for this function:
|
protected |
Save permissions.
Definition at line 280 of file class.ilPermissionGUI.php.
References $_POST, $log, $table, ilRbacLog\add(), applyRoleFilter(), ilRbacLog\diffFaPa(), ilRbacLog\EDIT_PERMISSIONS, ilRbacLog\gatherFaPa(), getCurrentObject(), ilObjectFactory\getInstanceByObjId(), ilLoggerFactory\getLogger(), getModifiedBlockedSettings(), hasContainerCommands(), ilRbacReview\lookupCreateOperationIds(), ilUtil\sendSuccess(), and showConfirmBlockRole().
Here is the call graph for this function:
|
protected |
Definition at line 826 of file class.ilPermissionGUI.php.
References $_POST, ilPermission2GUI\__initSubTabs(), ilOrgUnitOperationQueries\findById(), ActiveRecord\getArray(), getCurrentObject(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
Show block role confirmation screen.
| array | $a_roles |
Definition at line 415 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 468 of file class.ilPermissionGUI.php.
References 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().