public isAllowed (mixed $roleName, mixed $resourceName, mixed $access, [array $parameters])
Check whether a role is allowed to access an action from a resource
//Does andres have access to the customers resource to create? $acl->isAllowed('andres', 'Products', 'create'); //Do guests have access to any resource to edit? $acl->isAllowed('guests', '*', 'edit');
Please login to continue.