Archived
1
0
Fork 0

Adjusting acl

This commit is contained in:
Fredric N 2011-02-26 14:13:46 +01:00
parent a5ccb9c6fb
commit b2c54ec874
2 changed files with 11 additions and 11 deletions

View file

@ -50,13 +50,13 @@ class Acl extends Zend_Acl
protected function loadAccess()
{
// Set default rules
$this->_setDefaultAccess();
#$this->_setDefaultAccess();
// Blog
$this->allow(self::ROLE_MEMBER, 'blog', 'comment');
// Profile
$this->deny(self::ROLE_VISITOR,'profile','read');
// Admin
$this->allow(self::ROLE_FIKTIV, 'admin', array('read', 'write', 'delete'));

View file

@ -52,15 +52,15 @@
<action>index</action>
</portfolio>
<dummy>
<label>u:dummy</label>
<route>default</route>
<moudule>default</moudule>
<controller>dummy</controller>
<action>dummy</action>
<resource>blog</resource>
<privilege>write</privilege>
</dummy>
<admin>
<label>u:admin</label>
<route>admin</route>
<module>admin</module>
<controller>index</controller>
<action>index</action>
<resource>admin</resource>
<privilege>read</privilege>
</admin>
<about>
<label>uw:about</label>