Class AdminAccessController
Class AdminAccessController
- HttpViewController implements HttpViewControllerInterface
-
AdminHttpViewController
implements
AdminStatusOnlyInterface
-
AdminAccessController
Category: System
Located at Controllers/HttpView/Admin/AdminAccess/AdminAccessController.inc.php
Methods summary
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
actionSavePermissions( )
Saves the granted and revoked permissions and redirects to the permission management page. |
protected
|
#
_returnHttpResponse( string $title = '', string $template = 'overview.html', array $templateData = [], string $currentSection = '' )
Creates and returns an AdminLayoutHttpControllerResponse. |
protected
|
|
protected
array
|
|
protected
array
|
|
protected
|
#
_createContentNavigation( string $currentSection = '' )
Creates the content navigation object for the admin access pages. |
protected
array
|
#
_getAdminsOverviewsListItems( )
Returns the necessary information of all admins to generate the overview listing. |
protected
array
|
#
_getAdminsOverviewsListElementActions( )
Returns the necessary information to provide the elements actions for the admins overview listing. |
protected
array
|
#
_getAdminEditsListItems( $adminId )
Returns the necessary information of the admin roles for the admin edit page. |
protected
array
|
#
_getAdminEditsListElementActions( )
Returns the necessary information to provide the elements actions for the admin edit page. |
protected
array
|
#
_getRolesOverviewsListItems( )
Returns the necessary information of all admin roles to generate the overview listing. |
protected
array
|
#
_getRolesOverviewsListAction( )
Returns the necessary information to provide the action for the roles overview listing. |
protected
array
|
#
_getPermissionsOverviewsListItems( integer $roleId )
Returns the necessary information of all role permissions to generate the overview listing. |
protected
|
#
_getPermissionOverviewsGroupCollection( )
Returns the necessary group collection with the right sorting to generate the permission overview listing. |
protected
|
#
_appendGroupChildrenToGroupsArray( array $children, array & $groupsArray, integer $parentId )
Appends group children to a given group array. |
protected
|
|
protected
|
#
_updateUnknownPermissionsForRole( $type, $roleId, $value )
Updates the permission for unknown groups of a role by a given value. |
protected
|
#
_updatePermissionsForRole( $type, $roleId, array $grantedGroups )
Updates the given permissions of an admin. |
protected
|
#
_updateAssignedRolesForAdmin( $adminId, array $assignedRoles )
Saves the the given role assignments of an admin. |
Methods inherited from AdminHttpViewController
Methods inherited from HttpViewController
__construct(),
_callActionMethod(),
_getPostData(),
_getPostDataCollection(),
_getQueryParameter(),
_getQueryParametersCollection(),
_getServerData(),
_render(),
_validatePageToken(),
getTemplateFile(),
proceed()
Properties summary
protected
|
$adminAccessService
|
|
protected
CI_DB_query_builder
|
$db
|
|
protected
|
$languageProvider
|
|
protected
string
|
$templatePath
|
Properties inherited from HttpViewController
$assets,
$contentView,
$httpContextReader,
$httpResponseProcessor,
$postDataArray,
$queryParametersArray,
$serverDataArray