|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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... | |
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 () | |
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 28 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 762 of file class.ilPermissionGUI.php.
References $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 185 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 213 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 533 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 102 of file class.ilPermissionGUI.php.
|
protected |
Show add role form.
Definition at line 746 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 582 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 596 of file class.ilPermissionGUI.php.
References displayImportRoleForm(), getCurrentObject(), initImportForm(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilPermissionGUI::executeCommand | ( | ) |
Execute command.
Definition at line 37 of file class.ilPermissionGUI.php.
References $_GET, $cmd, ilPermission2GUI\$ilErr, $ret, and ilPermission2GUI\__initSubTabs().
Here is the call graph for this function:| ilPermissionGUI::getCurrentObject | ( | ) |
Get current object.
Definition at line 94 of file class.ilPermissionGUI.php.
Referenced by addRole(), applyFilter(), applyRoleFilter(), blockRoles(), doImportRole(), getModifiedBlockedSettings(), isAdministrationObject(), isAdminRoleFolder(), isInAdministration(), perm(), resetFilter(), savePermissions(), and unblockRoles().
Here is the caller graph for this function:
|
protected |
| type | $a_blocked_info |
Definition at line 843 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 571 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 642 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 664 of file class.ilPermissionGUI.php.
References $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 166 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 161 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 175 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 490 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 116 of file class.ilPermissionGUI.php.
References 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 |
Reset filter.
Definition at line 198 of file class.ilPermissionGUI.php.
References getCurrentObject(), and perm().
Here is the call graph for this function:
|
protected |
Save permissions.
Definition at line 289 of file class.ilPermissionGUI.php.
References $_POST, $log, 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 |
Show block role confirmation screen.
| array | $a_roles |
Definition at line 442 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 502 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 21 of file class.ilPermissionGUI.php.