ACL Ressource (Controller)
问题 i just implemented ACL in my Zend Framework which already uses Zend Auth. I want to give access to some controllers and tried it this way: $roleGuest = new Zend_Acl_Role('guest'); $this->addRole($roleGuest); $this->addRole(new Zend_Acl_Role('supplier')); $this->addRole(new Zend_Acl_Role('admin')); $this->add(new Zend_Acl_Resource('Articles')); $this->add(new Zend_Acl_Resource('Index')); $this->deny(); $this->allow('supplier', 'Articles'); $this->allow('admin', null); But a user, who is