Class AdminAccessRole
Class AdminAccessRole
A role represents a collection of administration permissions that can be assigned to an user. The role has also a set of descriptive attributes like a name and a description so the user can understand, what the roles purpose is.
- AdminAccessRole implements AdminAccessRoleInterface
Package: AdminAccess\Entities
Category: System
Located at Services/System/AdminAccess/Entities/AdminAccessRole.inc.php
Category: System
Located at Services/System/AdminAccess/Entities/AdminAccessRole.inc.php
Methods summary
public
|
#
__construct(
AdminAccessRole constructor. |
public
boolean
|
#
checkDeletingPermission(
Checks deleting permission for a given group. |
public
boolean
|
#
checkReadingPermission(
Checks reading permission for a given group. |
public
boolean
|
#
checkWritingPermission(
Checks writing permission for a given group. |
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
|
|
public
integer
|
|
public
|
|
public
|
|
public
integer
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
setDeletingUnknownGroupGranted(
Sets the deleting permission value for an unknown group. |
public
|
#
setReadingUnknownGroupGranted(
Sets the reading permission value for an unknown group. |
public
|
#
setWritingUnknownGroupGranted(
Sets the writing permission value for an unknown group. |
public
|
|
public
|
|
public
|
#
getPermissionByGroup(
Returns the a permission for this role by a given group. |
public
|
#
getPermissionsByGroupCollection(
Returns the a permission for this role by a given group collection. |
public
|
|
public
boolean
|
Properties summary
protected
integer
|
$id
|
|
protected
|
$name
|
|
protected
|
$description
|
|
protected
integer
|
$sortOrder
|
|
protected
|
$deleter
|
|
protected
|
$writer
|
|
protected
|
$permissionReader
|
|
protected
boolean
|
$deletingUnknownGroupGranted
|
|
protected
boolean
|
$readingUnknownGroupGranted
|
|
protected
boolean
|
$writingUnknownGroupGranted
|
|
protected
boolean
|
$protected
|