|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output. More...
Inheritance diagram for ilPermissionGUI:
Collaboration diagram for ilPermissionGUI:Public Member Functions | |
| __construct (object $a_gui_obj) | |
| executeCommand () | |
| Execute command. More... | |
| getCurrentObject () | |
| perm (ilTable2GUI $table=null) | |
| applyRoleFilter (array $a_roles, int $a_filter_id) | |
Public Member Functions inherited from ilPermission2GUI | |
| __construct (object $a_gui_obj) | |
| owner () | |
| changeOwner () | |
| __initSubTabs (string $a_cmd) | |
| log () | |
| applyLogFilter () | |
| resetLogFilter () | |
Static Public Member Functions | |
| static | hasContainerCommands (string $a_type) |
Data Fields | |
| const | CMD_SAVE_POSITIONS_PERMISSIONS = 'savePositionsPermissions' |
Protected Member Functions | |
| confirmTemplateSwitch () | |
| Called after toolbar action applyTemplateSwitch. More... | |
| isAdminRoleFolder () | |
| isAdministrationObject () | |
| isInAdministration () | |
| Check if node is subobject of administration folder. More... | |
| applyFilter () | |
| resetFilter () | |
| savePermissions () | |
| showConfirmBlockRole (array $a_blocked_info) | |
| modifyBlockRoles () | |
| unblockRoles ($roles) | |
| blockRoles ($roles) | |
| displayImportRoleForm (ilPropertyFormGUI $form=null) | |
| doImportRole () | |
| initImportForm () | |
| init import form More... | |
| initRoleForm () | |
| 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 | |
| const | CMD_PERM_POSITIONS = 'permPositions' |
| object | $current_obj |
| ilRecommendedContentManager | $recommended_content_manager |
| ilToolbarGUI | $toolbar |
| UIFactory | $ui_factory |
| ILIAS HTTP Wrapper WrapperFactory | $wrapper |
| ilOrgUnitPositionDBRepository | $positionRepo |
| ilOrgUnitPermissionDBRepository | $permissionRepo |
| ilOrgUnitOperationDBRepository | $operationRepo |
Protected Attributes inherited from ilPermission2GUI | |
| object | $gui_obj |
| ilErrorHandling | $ilErr |
| ilCtrl | $ctrl |
| ilLanguage | $lng |
| ilObjectDefinition | $objDefinition |
| ilGlobalTemplateInterface | $tpl |
| ilRbacSystem | $rbacsystem |
| ilRbacReview | $rbacreview |
| ilRbacAdmin | $rbacadmin |
| ilObjectDataCache | $objectDataCache |
| ilTabsGUI | $tabs |
| GlobalHttpState | $http |
| Factory | $refinery |
Private Member Functions | |
| getPositionRepo () | |
| getPermissionRepo () | |
| getOperationRepo () | |
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.
Definition at line 34 of file class.ilPermissionGUI.php.
| ilPermissionGUI::__construct | ( | object | $a_gui_obj | ) |
Definition at line 49 of file class.ilPermissionGUI.php.
References $DIC, ILIAS\MetaData\Repository\Validation\Data\__construct(), and ILIAS\Repository\toolbar().
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: change this bahaviour
Definition at line 725 of file class.ilPermissionGUI.php.
References ILIAS\Repository\ctrl(), getCurrentObject(), initRoleForm(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ilObjRole\MODE_PROTECTED_KEEP_LOCAL_POLICIES, and ilObjRole\MODE_UNPROTECTED_KEEP_LOCAL_POLICIES.
Here is the call graph for this function:
|
protected |
Definition at line 216 of file class.ilPermissionGUI.php.
References getCurrentObject(), and perm().
Here is the call graph for this function:| ilPermissionGUI::applyRoleFilter | ( | array | $a_roles, |
| int | $a_filter_id | ||
| ) |
Definition at line 232 of file class.ilPermissionGUI.php.
References 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 |
Definition at line 532 of file class.ilPermissionGUI.php.
References ilPermission2GUI\$roles, 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 151 of file class.ilPermissionGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
protected |
Show add role form.
Definition at line 712 of file class.ilPermissionGUI.php.
References initRoleForm(), and ILIAS\Repository\tabs().
Here is the call graph for this function:
|
protected |
Definition at line 567 of file class.ilPermissionGUI.php.
References initImportForm(), and ILIAS\Repository\tabs().
Referenced by doImportRole().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 577 of file class.ilPermissionGUI.php.
References Vendor\Package\$e, ILIAS\Repository\ctrl(), displayImportRoleForm(), getCurrentObject(), initImportForm(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilPermissionGUI::executeCommand | ( | ) |
Execute command.
Definition at line 95 of file class.ilPermissionGUI.php.
References ilPermission2GUI\__initSubTabs(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilPermissionGUI::getCurrentObject | ( | ) |
Definition at line 143 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 |
Definition at line 790 of file class.ilPermissionGUI.php.
References $DIC, ilPermission2GUI\$rbacreview, getCurrentObject(), ilRbacReview\isBlockedAtPosition(), and ILIAS\Repository\refinery().
Referenced by savePermissions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 80 of file class.ilPermissionGUI.php.
References $dic, $operationRepo, and ilOrgUnitLocalDIC\dic().
Referenced by savePositionsPermissions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 70 of file class.ilPermissionGUI.php.
References $dic, $permissionRepo, and ilOrgUnitLocalDIC\dic().
Referenced by savePositionsPermissions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 60 of file class.ilPermissionGUI.php.
References $dic, $positionRepo, and ilOrgUnitLocalDIC\dic().
Referenced by savePositionsPermissions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 559 of file class.ilPermissionGUI.php.
References $DIC, ilPermission2GUI\$objDefinition, and ilObjectDefinition\isContainer().
Referenced by ilObjectRolePermissionTableGUI\parse(), and savePermissions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
init import form
Definition at line 615 of file class.ilPermissionGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ilFormPropertyGUI\setRequired().
Referenced by displayImportRoleForm(), and doImportRole().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 631 of file class.ilPermissionGUI.php.
References $check, $id, ILIAS\LTI\ToolProvider\$key, $rights, ilObjRole\_getTranslation(), ilUtil\_sortIds(), ILIAS\Repository\ctrl(), getCurrentObject(), isInAdministration(), ILIAS\Repository\lng(), ilTextAreaInputGUI\setCols(), ilFormPropertyGUI\setInfo(), 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 203 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 |
Definition at line 198 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 211 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 484 of file class.ilPermissionGUI.php.
References blockRoles(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and unblockRoles().
Here is the call graph for this function:| ilPermissionGUI::perm | ( | ilTable2GUI | $table = null | ) |
Definition at line 159 of file class.ilPermissionGUI.php.
References ilPermission2GUI\__initSubTabs(), ILIAS\Repository\ctrl(), getCurrentObject(), isAdministrationObject(), isAdminRoleFolder(), ILIAS\Repository\lng(), and ILIAS\Repository\toolbar().
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 831 of file class.ilPermissionGUI.php.
References $ref_id, ilPermission2GUI\__initSubTabs(), and getCurrentObject().
Here is the call graph for this function:
|
protected |
Definition at line 224 of file class.ilPermissionGUI.php.
References getCurrentObject(), and perm().
Here is the call graph for this function:
|
protected |
Definition at line 284 of file class.ilPermissionGUI.php.
References $DIC, $log, ilPermission2GUI\$objDefinition, ilPermission2GUI\$rbacadmin, ilPermission2GUI\$rbacreview, ilPermission2GUI\$roles, ilRbacLog\add(), applyRoleFilter(), ilRbacAdmin\assignRoleToFolder(), ilRbacAdmin\copyRoleTemplatePermissions(), ILIAS\Repository\ctrl(), ilRbacLog\diffFaPa(), ilRbacLog\EDIT_PERMISSIONS, ilRbacLog\gatherFaPa(), ilObjectDefinition\getCreatableSubObjects(), getCurrentObject(), ilObjectFactory\getInstanceByObjId(), ilLoggerFactory\getLogger(), getModifiedBlockedSettings(), ilRbacReview\getOperationsByTypeAndClass(), ilRbacReview\getParentRoleIds(), ilRbacReview\getRoleOperationsOnObject(), ilRbacAdmin\grantPermission(), hasContainerCommands(), ILIAS\Repository\int(), ilRbacReview\isAssignable(), ilRbacReview\isBlockedAtPosition(), ilRbacReview\isProtected(), ILIAS\Repository\lng(), ilRbacReview\lookupCreateOperationIds(), ILIAS\Repository\refinery(), ilRbacAdmin\revokePermission(), ilRbacAdmin\setProtected(), and showConfirmBlockRole().
Here is the call graph for this function:
|
protected |
Definition at line 842 of file class.ilPermissionGUI.php.
References $ref_id, ilPermission2GUI\__initSubTabs(), ILIAS\Repository\ctrl(), getCurrentObject(), getOperationRepo(), getPermissionRepo(), getPositionRepo(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Here is the call graph for this function:
|
protected |
Definition at line 446 of file class.ilPermissionGUI.php.
References ilObjRole\_getTranslation(), ilObject\_lookupTitle(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by savePermissions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 508 of file class.ilPermissionGUI.php.
References ilPermission2GUI\$roles, 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 39 of file class.ilPermissionGUI.php.
|
protected |
Definition at line 47 of file class.ilPermissionGUI.php.
Referenced by getOperationRepo().
|
protected |
Definition at line 46 of file class.ilPermissionGUI.php.
Referenced by getPermissionRepo().
|
protected |
Definition at line 45 of file class.ilPermissionGUI.php.
Referenced by getPositionRepo().
|
protected |
Definition at line 41 of file class.ilPermissionGUI.php.
|
protected |
Definition at line 42 of file class.ilPermissionGUI.php.
|
protected |
Definition at line 43 of file class.ilPermissionGUI.php.
|
protected |
Definition at line 44 of file class.ilPermissionGUI.php.
|
protected |
Definition at line 36 of file class.ilPermissionGUI.php.
Referenced by ilPermission2GUI\__initSubTabs().
| const ilPermissionGUI::CMD_SAVE_POSITIONS_PERMISSIONS = 'savePositionsPermissions' |
Definition at line 37 of file class.ilPermissionGUI.php.
Referenced by ilOrgUnitPermissionTableGUI\__construct().