* Regular example with role "user" given create & read rights on "comments": * 'user' => array('comments' => array('create', 'read')),then you check in your code if the user has 'create' rights on the function 'comments'. It will make it very clear, both in the ACL definitions and in your code, what is meant by this.
class Controller_Blog2 extends Controller_Blog {}
class Controller_Blog2 { public function action_index() { // this will bypass your has_access() check in the before() method $controller = new Controller_Blog($request, $response); return $controller->action_yours(); } }
It looks like you're new here. If you want to get involved, click one of these buttons!