Re: [fw-general] Zend_Acl for MVC ?

2009-04-10 Thread lightflowmark
There's also a working implementation of this (and several other useful things) in the book Zend Framework In Action (Allen, Lo & Brown). I believe Matthew was involved in this book somehow as well. -- View this message in context: http://www.nabble.com/Zend_Acl-for-MVC---tp22952422p22989871.ht

Re: [fw-general] Zend_Acl for MVC ?

2009-04-09 Thread keith Pope
you may want to checkout: http://weierophinney.net/matthew/archives/201-Applying-ACLs-to-Models.html 2009/4/9 holografix . : > Hi > > There's a proposal in laboratory: > http://framework.zend.com/wiki/pages/viewpage.action?pageId=39025 > > Cheers > holo > > > 2009/4/9 till >> >> 2009/4/9 Thomas

Re: [fw-general] Zend_Acl for MVC ?

2009-04-09 Thread holografix .
Hi There's a proposal in laboratory: http://framework.zend.com/wiki/pages/viewpage.action?pageId=39025 Cheers holo 2009/4/9 till > 2009/4/9 Thomas VEQUAUD : > > > > Actually I use it in a View Helper and I defined my controllers as > > Zend_Acl_Resource and actions as privileges ... > > Then,

Re: [fw-general] Zend_Acl for MVC ?

2009-04-09 Thread till
2009/4/9 Thomas VEQUAUD : > > Actually I use it in a View Helper and I defined my controllers as > Zend_Acl_Resource and actions as privileges ... > Then, in my controllers I just need to call > $this->view->myAcl()->isAllowed($user_roles, $controller, $action) I can second this, but I'm adding th

Re: [fw-general] Zend_Acl for MVC ?

2009-04-09 Thread Thomas VEQUAUD
Actually I use it in a View Helper and I defined my controllers as Zend_Acl_Resource and actions as privileges ... Then, in my controllers I just need to call $this->view->myAcl()->isAllowed($user_roles, $controller, $action) 2009/4/8 Elvin Şiriyev > is there any example code about Zend_Acl for

[fw-general] Zend_Acl for MVC ?

2009-04-08 Thread Elvin Şiriyev
is there any example code about Zend_Acl for MVC (defining and controlling). i mean "ACL for MVC" is : example: guest can't see /default[module]/user[controller]/*[action] but only administrator can access /manage/*/* thx -- Elvin Şiriyev http://elvin.siriyev.net