Sunday, April 21, 2013

Re: A more advanced use of ACL?

I was looking around and found this page http://joykapoor.wordpress.com/2013/01/09/authcomponent-variables-in-cakephp/

It seems that you can have your own isAuthorized() function in your user model and it will call it once it determines you are a valid user. I am going to give that a shot and see if it will do what I need. Thanks.

~Michael


On Sun, Apr 21, 2013 at 8:04 PM, godjen99 <godjen99@yahoo.com> wrote:
Although I stopped short of this in my recent projects, so I haven't tried it, but it seems you could create a component of your own and just inherit the AuthComponent and overwrite that way.

--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: