Friday, August 2, 2013

Re: ACL->allow based on aco id

I have tried to pass in arrays like ("Aco"=>array("id"=>4)) but it doesn't seem to work. Any suggestions?


On Thu, Aug 1, 2013 at 3:13 AM, Michael Gaiser <mjgaiser@gmail.com> wrote:
So I have seen a lot of examples that use the aco alias when calling allow() but they usually have the parent aco's alias included. For example 'controllers/Users'. Is it possible to call allow() and just use the Aco.id and the Aro.id? Thanks


~Michael

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: