Practical Zend_ACL + Zend_Auth implementation and best practices

My implementation: Question #1 class App_Model_Acl extends Zend_Acl { const ROLE_GUEST = ‘guest’; const ROLE_USER = ‘user’; const ROLE_PUBLISHER = ‘publisher’; const ROLE_EDITOR = ‘editor’; const ROLE_ADMIN = ‘admin’; const ROLE_GOD = ‘god’; protected static $_instance; /* Singleton pattern */ protected function __construct() { $this->addRole(new Zend_Acl_Role(self::ROLE_GUEST)); $this->addRole(new Zend_Acl_Role(self::ROLE_USER), self::ROLE_GUEST); $this->addRole(new Zend_Acl_Role(self::ROLE_PUBLISHER), self::ROLE_USER); $this->addRole(new Zend_Acl_Role(self::ROLE_EDITOR), self::ROLE_PUBLISHER); … Read more