Permissions linking AROs with ACOs
$actsAs
public array
$belongsTo
public array
$cacheQueries
public boolean
$useTable
public string
Constructor, used to tell this model to use the database configured for ACL
__construct( )
Constructor, used to tell this model to use the database configured for ACL
allow( string $aro , string $aco , string $actions '*' , integer $value 1 )
Allow $aro to have access to action $actions in $aco
$aro
$aco
$actions
optional '*' $value
optional 1 AclException
check( string $aro , string $aco , string $action '*' )
Checks if the given $aro has access to action $action in $aco
$aro
$aco
$action
optional '*' getAclLink( string $aro , string $aco )
Get an array of access-control links between the given Aro and Aco
$aro
$aco
getAcoKeys( array $keys )
Get the crud type keys
$keys
© 2005–2016 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.9/class-Permission.html