On this page
Interface AclInterface
Access Control List interface. Implementing classes are used by AclComponent to perform ACL checks in Cake.
Direct Implementers
Package: Cake\Controller\Component\Acl
Copyright: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
License: MIT License
Location: Cake/Controller/Component/Acl/AclInterface.php
  
  Copyright: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
License: MIT License
Location: Cake/Controller/Component/Acl/AclInterface.php
Method Summary
- 
    allow() publicAllow methods are used to grant an ARO access to an ACO.
- 
    check() publicEmpty method to be overridden in subclasses
- 
    deny() publicDeny methods are used to remove permission from an ARO to access an ACO.
- 
    inherit() publicInherit methods modify the permission for an ARO to be that of its parent object.
- 
    initialize() publicInitialization method for the Acl implementation
Method Detail
allow()source public
allow( string $aro , string $aco , string $action "*" )Allow methods are used to grant an ARO access to an ACO.
Parameters
- 
     string $aro
- ARO The requesting object identifier.
- 
     string $aco
- ACO The controlled object identifier.
- 
     string $actionoptional "*"
- Action (defaults to *)
Returns
booleanSuccess
check()source public
check( string $aro , string $aco , string $action "*" )Empty method to be overridden in subclasses
Parameters
- 
     string $aro
- ARO The requesting object identifier.
- 
     string $aco
- ACO The controlled object identifier.
- 
     string $actionoptional "*"
- Action (defaults to *)
Returns
booleanSuccess
deny()source public
deny( string $aro , string $aco , string $action "*" )Deny methods are used to remove permission from an ARO to access an ACO.
Parameters
- 
     string $aro
- ARO The requesting object identifier.
- 
     string $aco
- ACO The controlled object identifier.
- 
     string $actionoptional "*"
- Action (defaults to *)
Returns
booleanSuccess
inherit()source public
inherit( string $aro , string $aco , string $action "*" )Inherit methods modify the permission for an ARO to be that of its parent object.
Parameters
- 
     string $aro
- ARO The requesting object identifier.
- 
     string $aco
- ACO The controlled object identifier.
- 
     string $actionoptional "*"
- Action (defaults to *)
Returns
booleanSuccess
initialize()source public
initialize( Component $component )Initialization method for the Acl implementation
Parameters
- Component- $component
- The AclComponent instance.
© 2005–2017 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
 https://api.cakephp.org/2.10/class-AclInterface.html