ILIAS
Release_5_0_x_branch Revision 61816
|
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output. More...
Public Member Functions | |
__construct ($a_gui_obj) | |
Constructor. | |
executeCommand () | |
Execute command. | |
getCurrentObject () | |
Get current object. | |
perm (ilTable2GUI $table=NULL) | |
show permission table | |
applyRoleFilter ($a_roles, $a_filter_id) | |
Apply filter to roles. | |
Public Member Functions inherited from ilPermission2GUI | |
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. |
Protected Member Functions | |
confirmTemplateSwitch () | |
Called after toolbar action applyTemplateSwitch. | |
isAdminRoleFolder () | |
Check of current location is administration (main) role folder. | |
isAdministrationObject () | |
isInAdministration () | |
Check if node is subobject of administration folder. | |
applyFilter () | |
Apply filter. | |
resetFilter () | |
Reset filter. | |
savePermissions () | |
Save permissions. | |
showConfirmBlockRole ($a_roles) | |
Show block role confirmation screen. | |
blockRoles () | |
Block role. | |
displayImportRoleForm (ilPropertyFormGUI $form=null) | |
Show import form. | |
doImportRole () | |
Perform import. | |
initImportForm () | |
init import form | |
initRoleForm () | |
Shoew add role type $rbacreview type $objDefinition. | |
displayAddRoleForm () | |
Show add role form. | |
addRole () | |
adds a local role This method is only called when choose the option 'you may add local roles'. |
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.
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 public
Definition at line 695 of file class.ilPermissionGUI.php.
References $GLOBALS, $ilCtrl, ilPermission2GUI\$ilErr, ilObject\_lookupType(), ilRoleDesktopItem\add(), getCurrentObject(), initRoleForm(), ilObjRole\MODE_PROTECTED_KEEP_LOCAL_POLICIES, ilObjRole\MODE_UNPROTECTED_KEEP_LOCAL_POLICIES, and ilUtil\sendSuccess().
|
protected |
Apply filter.
Definition at line 185 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 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().
|
protected |
Block role.
Definition at line 461 of file class.ilPermissionGUI.php.
References $_POST, getCurrentObject(), and ilUtil\sendInfo().
|
protected |
Called after toolbar action applyTemplateSwitch.
Definition at line 102 of file class.ilPermissionGUI.php.
|
protected |
Show add role form.
Definition at line 679 of file class.ilPermissionGUI.php.
References $GLOBALS, and initRoleForm().
|
protected |
Show import form.
ilPropertyFormGUI | $form |
Definition at line 506 of file class.ilPermissionGUI.php.
References $GLOBALS, and initImportForm().
Referenced by doImportRole().
|
protected |
Perform import.
Definition at line 520 of file class.ilPermissionGUI.php.
References $GLOBALS, displayImportRoleForm(), getCurrentObject(), initImportForm(), isAdminRoleFolder(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilPermissionGUI::executeCommand | ( | ) |
Execute command.
Definition at line 37 of file class.ilPermissionGUI.php.
References $_GET, $cmd, ilPermission2GUI\$ilErr, $ret, and ilPermission2GUI\__initSubTabs().
ilPermissionGUI::getCurrentObject | ( | ) |
Get current object.
Definition at line 94 of file class.ilPermissionGUI.php.
Referenced by addRole(), applyFilter(), applyRoleFilter(), blockRoles(), doImportRole(), isAdministrationObject(), isAdminRoleFolder(), isInAdministration(), perm(), resetFilter(), and savePermissions().
|
static |
Check if container commands are possible for the current object type.
object | $a_type |
Definition at line 495 of file class.ilPermissionGUI.php.
Referenced by ilObjectRolePermissionTableGUI\parse(), and savePermissions().
|
protected |
init import form
Definition at line 575 of file class.ilPermissionGUI.php.
References ilFileInputGUI\setSuffixes().
Referenced by displayImportRoleForm(), and doImportRole().
|
protected |
Shoew add role type $rbacreview type $objDefinition.
Definition at line 597 of file class.ilPermissionGUI.php.
References ilObjRole\_getTranslation(), ilUtil\_sortIds(), isInAdministration(), ilTextAreaInputGUI\setCols(), ilFormPropertyGUI\setInfo(), and ilTextInputGUI\setValidationRegexp().
Referenced by addRole(), and displayAddRoleForm().
|
protected |
Definition at line 166 of file class.ilPermissionGUI.php.
References getCurrentObject().
Referenced by perm().
|
protected |
Check of current location is administration (main) role folder.
Definition at line 161 of file class.ilPermissionGUI.php.
References getCurrentObject().
Referenced by doImportRole(), and perm().
|
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().
ilPermissionGUI::perm | ( | ilTable2GUI | $table = NULL | ) |
show permission table
Definition at line 116 of file class.ilPermissionGUI.php.
References ilPermission2GUI\__initSubTabs(), getCurrentObject(), isAdministrationObject(), and isAdminRoleFolder().
Referenced by applyFilter(), resetFilter(), and savePermissions().
|
protected |
Reset filter.
Definition at line 198 of file class.ilPermissionGUI.php.
References getCurrentObject(), and perm().
|
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(), hasContainerCommands(), ilRbacReview\lookupCreateOperationIds(), perm(), ilUtil\sendSuccess(), and showConfirmBlockRole().
|
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 21 of file class.ilPermissionGUI.php.