public
|
|
public
boolean
|
#
checkDeletingPermissionForController( NonEmptyStringType $identifier, IdType $customerId )
Checks the deleting permission for a controller.
Checks the deleting permission for a controller.
Parameters
- $identifier
- The name of a controller to identify an admin access group.
- $customerId
- ID of a customer to check the permission for.
Returns
boolean True if customer has a deleting permission for the controller, false otherwise.
Implementation of
|
public
boolean
|
#
checkDeletingPermissionForPage( NonEmptyStringType $identifier, IdType $customerId )
Checks the deleting permission for a page.
Checks the deleting permission for a page.
Parameters
- $identifier
- The name of a page to identify an admin access group.
- $customerId
- ID of a customer to check permission for.
Returns
boolean True if customer has a deleting permission for the page, false otherwise.
Implementation of
|
public
boolean
|
#
checkDeletingPermissionForAjaxHandler( NonEmptyStringType $identifier, IdType $customerId )
Checks the deleting permission for an ajax handler.
Checks the deleting permission for an ajax handler.
Parameters
- $identifier
- The name of an ajax handler to identify an admin access group.
- $customerId
- ID of a customer to check permission for.
Returns
boolean True if customer has a deleting permission for the ajax handler, false otherwise.
Implementation of
|
public
boolean
|
#
checkReadingPermissionForController( NonEmptyStringType $identifier, IdType $customerId )
Checks the reading permission for a controller.
Checks the reading permission for a controller.
Parameters
- $identifier
- The name of a controller to identify an admin access group.
- $customerId
- ID of a customer to check the permission for.
Returns
boolean True if customer has a reading permission for the controller, false otherwise.
Implementation of
|
public
boolean
|
#
checkReadingPermissionForPage( NonEmptyStringType $identifier, IdType $customerId )
Checks the reading permission for a page.
Checks the reading permission for a page.
Parameters
- $identifier
- The name of a page to identify an admin access group.
- $customerId
- ID of a customer to check permission for.
Returns
boolean True if customer has a reading permission for the page, false otherwise.
Implementation of
|
public
boolean
|
#
checkReadingPermissionForAjaxHandler( NonEmptyStringType $identifier, IdType $customerId )
Checks the reading permission for an ajax handler.
Checks the reading permission for an ajax handler.
Parameters
- $identifier
- The name of an ajax handler to identify an admin access group.
- $customerId
- ID of a customer to check permission for.
Returns
boolean True if customer has a reading permission for the ajax handler, false otherwise.
Implementation of
|
public
boolean
|
#
checkWritingPermissionForController( NonEmptyStringType $identifier, IdType $customerId )
Checks the writing permission for a controller.
Checks the writing permission for a controller.
Parameters
- $identifier
- The name of a controller to identify an admin access group.
- $customerId
- ID of a customer to check the permission for.
Returns
boolean True if customer has a writing permission for the controller, false otherwise.
Implementation of
|
public
boolean
|
#
checkWritingPermissionForPage( NonEmptyStringType $identifier, IdType $customerId )
Checks the writing permission for a page.
Checks the writing permission for a page.
Parameters
- $identifier
- The name of a page to identify an admin access group.
- $customerId
- ID of a customer to check permission for.
Returns
boolean True if customer has a writing permission for the page, false otherwise.
Implementation of
|
public
boolean
|
#
checkWritingPermissionForAjaxHandler( NonEmptyStringType $identifier, IdType $customerId )
Checks the writing permission for an ajax handler.
Checks the writing permission for an ajax handler.
Parameters
- $identifier
- The name of an ajax handler to identify an admin access group.
- $customerId
- ID of a customer to check permission for.
Returns
boolean True if customer has a writing permission for the ajax handler, false otherwise.
Implementation of
|
public
AdminAccessPermissionManager
|
#
grantDeletingPermission( IdType $roleId, IdType $groupId )
Grants deleting permission to a role for a given group id.
Grants deleting permission to a role for a given group id.
Parameters
- $roleId
- $groupId Group ID to grant permission for.
- $groupId
- $roleId Role ID to grant permission for.
Returns
Throws
Implementation of
|
public
AdminAccessPermissionManager
|
#
grantReadingPermission( IdType $roleId, IdType $groupId )
Grants reading permission to a role for a given group id.
Grants reading permission to a role for a given group id.
Parameters
- $roleId
- $groupId Group ID to grant permission for.
- $groupId
- $roleId Role ID to grant permission for.
Returns
Throws
Implementation of
|
public
AdminAccessPermissionManager
|
#
grantWritingPermission( IdType $roleId, IdType $groupId )
Grants writing permission to a role for a given group id.
Grants writing permission to a role for a given group id.
Parameters
- $roleId
- $groupId Group ID to grant permission for.
- $groupId
- $roleId Role ID to grant permission for.
Returns
Throws
Implementation of
|
public
AdminAccessPermissionManagerInterface
|
#
removeDeletingPermission( IdType $roleId, IdType $groupId )
Removes deleting permission from role for a given group id.
Removes deleting permission from role for a given group id.
Parameters
- $roleId
- $groupId Group ID to remove permission for.
- $groupId
- $roleId Role ID to remove permission from.
Returns
Throws
Implementation of
|
public
AdminAccessPermissionManagerInterface
|
#
removeReadingPermission( IdType $roleId, IdType $groupId )
Removes reading permission from role for a given group id.
Removes reading permission from role for a given group id.
Parameters
- $roleId
- $groupId Group ID to remove permission for.
- $groupId
- $roleId Role ID to remove permission from.
Returns
Throws
Implementation of
|
public
AdminAccessPermissionManagerInterface
|
#
removeWritingPermission( IdType $roleId, IdType $groupId )
Removes writing permission from role for a given group id.
Removes writing permission from role for a given group id.
Parameters
- $roleId
- $groupId Group ID to remove permission for.
- $groupId
- $roleId Role ID to remove permission from.
Returns
Throws
Implementation of
|
public
AdminAccessPermissionCollection
|
#
getPermissionsByRoleId( IdType $roleId )
Returns a collection of all permissions by a given role ID.
Returns a collection of all permissions by a given role ID.
Parameters
Returns
Implementation of
|
public
AdminAccessPermissionCollection
|
#
getPermissionsByGroupCollection( IdType $roleId, AdminAccessGroupCollection $groupCollection )
Returns a collection of permissions of a role by a given group collection.
Returns a collection of permissions of a role by a given group collection.
Parameters
- $roleId
- Role ID.
- $groupCollection
- Group collection.
Returns
Implementation of
|
protected
AdminAccessUserInterface
|
#
_getUser( IdType $customerId )
Returns an user by a given customer ID.
Returns an user by a given customer ID.
Parameters
Returns
|
protected
AdminAccessGroupInterface
|
|
protected
AdminAccessGroupInterface
|
|
protected
AdminAccessGroupInterface
|
|
protected
AdminAccessPermissionPersistenceInterface|AdminAccessPermissionPresentationInterface
|
#
_getPermission( IdType $roleId, IdType $groupId )
Returns a permission by a given role ID and group ID.
Returns a permission by a given role ID and group ID.
If no permission could be found, a new permission will be returned.
Parameters
- $roleId
- Role ID.
- $groupId
- Group ID.
Returns
Throws
|