Tuesday, November 29, 2011

Re: role-base authentication

You do not give any information on what part of authentication you are struggling with.

Auth will work with users that are associated to roles, after the user it authenticated you then need to check their level of authorization (two different things).

I do this with isAuthorized() methods in my controllers, where I can check if person has correct role and ownership rights to perform a particular action on any record and find it very simple to setup.

HTH, Paul.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: