Re: setting ACL dynamically for user 1.2

2007-06-18 Thread danfreak
Cheers Billy! I already did that but I was trying to understand better whether it is was possible/more convenient to achieve this result via ACL. Do you think that the allow method of the Auth library is more convenient/performant using conditional statements in the controller/ app_controller th

Re: setting ACL dynamically for user 1.2

2007-06-17 Thread Divagater
If you use the Auth component the default is to deny all actions. You can allow access to actions on the fly with $this->Auth- >allow('someAction') in a beforeFilter. So, maybe wrapping the allow method in your own conditional to test for group membership or ownership etc. is what you are looking

Re: setting ACL dynamically for user 1.2

2007-06-17 Thread danfreak
Anybody any help?!?! Dan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECT

Re: setting ACL dynamically for user 1.2

2007-06-15 Thread danfreak
You right! this is my second post in fact! I came back to CAKEPHP, and after playing around with it and understanding it better I must say it's simply great! I'm testing the last alpha version (1.2.0.5146alpha). Not sure if I misunderstood something but as I undestood, in my AROS I must set ever

Re: setting ACL dynamically for user 1.2

2007-06-15 Thread AD7six
On Jun 15, 10:06 am, danfreak <[EMAIL PROTECTED]> wrote: > Hey Bakers, > > this is my first post here ;o) So that wasn't you then? http://groups.google.com/group/cake-php/msg/5210a4cb9c2ef087 ;) > > Well I just wanted to ask whether (and how...) I can set ACL.aros > ACL.acos dynamically. > >