Mage_Admin_Model_Acl
extends Acl
in package
Table of Contents
Constants
- ROLE_TYPE_GROUP : mixed = 'G'
- All the group roles are prepended by G
- ROLE_TYPE_USER : mixed = 'U'
- All the user roles are prepended by U
- RULE_PERM_ALLOW : mixed = 2
- Permission level to allow access
- RULE_PERM_DENY : mixed = 0
- Permission level to deny access
- RULE_PERM_INHERIT : mixed = 1
- Permission level to inheric access from parent role
Properties
Methods
- addRoleParent() : self
- Add parent to role object
- getRoleRegistry() : Mage_Admin_Model_Acl_Role_Registry
- Get role registry object or create one
Constants
ROLE_TYPE_GROUP
All the group roles are prepended by G
public
mixed
ROLE_TYPE_GROUP
= 'G'
ROLE_TYPE_USER
All the user roles are prepended by U
public
mixed
ROLE_TYPE_USER
= 'U'
RULE_PERM_ALLOW
Permission level to allow access
public
mixed
RULE_PERM_ALLOW
= 2
RULE_PERM_DENY
Permission level to deny access
public
mixed
RULE_PERM_DENY
= 0
RULE_PERM_INHERIT
Permission level to inheric access from parent role
public
mixed
RULE_PERM_INHERIT
= 1
Properties
$_roleRegistry
protected
Mage_Admin_Model_Acl_Role_Registry|null
$_roleRegistry
= \null
Methods
addRoleParent()
Add parent to role object
public
addRoleParent(RoleInterface|string $role, RoleInterface|string $parent) : self
Parameters
- $role : RoleInterface|string
- $parent : RoleInterface|string
Return values
selfgetRoleRegistry()
Get role registry object or create one
protected
getRoleRegistry() : Mage_Admin_Model_Acl_Role_Registry
Attributes
- #[Override]