This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require_once 'Zend/Application/Resource/ResourceAbstract.php'; | |
/** | |
* TODO: short description. | |
* | |
* TODO: long description. | |
* | |
*/ | |
class My_Resource_Database extends Zend_Application_Resource_ResourceAbstract | |
{ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Adding a role | |
# resources.acl.roles.{roleName}.id = {roleId} | |
resources.acl.roles.guest.id = "G" | |
# Assigning parents to a role | |
# resources.acl.roles.{roleName}.parents = {parentRoleIds} (multiple in csv) | |
resources.acl.roles.user.id = "U" | |
resources.acl.roles.user.parents = "G" | |
# Adding a resource |