Re: ACL problem of the different kind: it allows too much!

2010-09-01 Thread gome$
Hi Nils, Have you updated ACOs table before restricting actions (build_acl)? Make shure you have included Acl and Auth components in your AppController ? ( var $components = array('Acl', 'Auth', 'Session'); ) and you have following lines in beforeFilter: $this->Auth->actionPath = 'controllers/';

Re: ACL and permissions arent working properly

2010-08-31 Thread gome$
hi, It won't affect auth permanently. Show me your AppControler source code and initACL function. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP"

authError log

2010-08-31 Thread gome$
Hi, I have this line in AppController, beforeFilter: $this->Auth->authError = sprintf(__('Session timed out or no permmision to action: %s .',true),$this->name.'-'.$this- >params['action']); Instead of displaying detailed information about failed action to user, I prefer to log it into file, but

Re: ACL and permissions arent working properly

2010-08-31 Thread gome$
On 31 Sie, 00:01, Rob wrote: > I'm having a problem right now with my application.  I have acl set up > and I am using groups for all my users following this > tutorialhttp://book.cakephp.org/view/1543/Simple-Acl-controlled-Application > > One user group I have set up as denied from /controller

Re: ACL and permissions arent working properly

2010-08-31 Thread gome$
On 31 Sie, 00:01, Rob wrote: > I'm having a problem right now with my application.  I have acl set up > and I am using groups for all my users following this > tutorialhttp://book.cakephp.org/view/1543/Simple-Acl-controlled-Application > > One user group I have set up as denied from /controller