ILIAS
release_7 Revision v7.30-3-g800a261c036
|
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output. More...
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... | |
![]() | |
__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' |
![]() | |
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 type $rbacreview 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 | |
![]() | |
$gui_obj = null | |
$ilErr = null | |
$ctrl = null | |
$lng = null | |
$tpl | |
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.
ilPermissionGUI: ilObjRoleGUI, ilRepositorySearchGUI, ilObjectPermissionStatusGUI
Definition at line 19 of file class.ilPermissionGUI.php.
ilPermissionGUI::__construct | ( | $a_gui_obj | ) |
Constructor.
object | $a_gui_obj |
Definition at line 36 of file class.ilPermissionGUI.php.
References ILIAS\GlobalScreen\Provider\__construct().
|
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 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.
|
protected |
Apply filter.
Definition at line 194 of file class.ilPermissionGUI.php.
References getCurrentObject(), and perm().
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().
|
protected |
Block role.
Definition at line 518 of file class.ilPermissionGUI.php.
References $DIC, and getCurrentObject().
Referenced by modifyBlockRoles().
|
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().
|
protected |
Show import form.
ilPropertyFormGUI | $form |
Definition at line 570 of file class.ilPermissionGUI.php.
References $GLOBALS, and initImportForm().
Referenced by doImportRole().
|
protected |
Perform import.
Definition at line 583 of file class.ilPermissionGUI.php.
References $DIC, Vendor\Package\$e, displayImportRoleForm(), getCurrentObject(), initImportForm(), and ilUtil\sendFailure().
ilPermissionGUI::executeCommand | ( | ) |
Execute command.
Definition at line 47 of file class.ilPermissionGUI.php.
References $_GET, $DIC, $ret, and ilPermission2GUI\__initSubTabs().
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().
|
protected |
type | $a_blocked_info |
Definition at line 825 of file class.ilPermissionGUI.php.
References $_POST, $DIC, and getCurrentObject().
Referenced by savePermissions().
|
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().
|
protected |
init import form
Definition at line 627 of file class.ilPermissionGUI.php.
References ilFileInputGUI\setSuffixes().
Referenced by displayImportRoleForm(), and doImportRole().
|
protected |
Shoew add role type $rbacreview type $objDefinition.
Definition at line 649 of file class.ilPermissionGUI.php.
References $DIC, ilObjRole\_getTranslation(), ilUtil\_sortIds(), getCurrentObject(), isInAdministration(), ilTextAreaInputGUI\setCols(), ilFormPropertyGUI\setInfo(), and SYSTEM_ROLE_ID.
Referenced by addRole(), and displayAddRoleForm().
|
protected |
Definition at line 175 of file class.ilPermissionGUI.php.
References getCurrentObject().
Referenced by perm().
|
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().
|
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().
|
protected |
Definition at line 474 of file class.ilPermissionGUI.php.
References $_POST, blockRoles(), ilUtil\sendInfo(), and unblockRoles().
ilPermissionGUI::perm | ( | ilTable2GUI | $table = null | ) |
show permission table
Definition at line 126 of file class.ilPermissionGUI.php.
References $DIC, ilPermission2GUI\__initSubTabs(), getCurrentObject(), isAdministrationObject(), and isAdminRoleFolder().
Referenced by applyFilter(), and resetFilter().
|
protected |
Definition at line 853 of file class.ilPermissionGUI.php.
References ilPermission2GUI\__initSubTabs(), and getCurrentObject().
|
protected |
Reset filter.
Definition at line 207 of file class.ilPermissionGUI.php.
References getCurrentObject(), and perm().
|
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().
|
protected |
Definition at line 865 of file class.ilPermissionGUI.php.
References $_POST, ilPermission2GUI\__initSubTabs(), ilOrgUnitOperationQueries\findById(), ActiveRecord\getArray(), and getCurrentObject().
|
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().
|
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().
|
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().
const ilPermissionGUI::CMD_SAVE_POSITIONS_PERMISSIONS = 'savePositionsPermissions' |
Definition at line 22 of file class.ilPermissionGUI.php.
Referenced by ilOrgUnitPermissionTableGUI\__construct().