On 8/3/07, luke BAKING barker <[EMAIL PROTECTED]> wrote:
>
> Ketan you may be right so far as scaling it goes, but I think that
> there may be reasonable ways around it like (if member of EDITORS
> group OR if its this users ID) then
>

If simple control is all you want then don't bother with ACL use the
auth component and use

$this->Auth->authorize = 'controller';

Then your controller should have an isAuthorized method which returns
true or false depending upon the role of the user logged in....

at a later date if you decide to go the ACL way you can change it with
simply doing

$this->Auth->authorize = 'actions';

(well an oversimplification but more or less thats it)

HTH

Tarique

P.S. the auth component has got some gotchas be sure to look them up
in the archives

-- 
=============================================================
Cheesecake-Photoblog: http://cheesecake-photoblog.org
PHP for E-Biz: http://sanisoft.com
=============================================================

--~--~---------~--~----~------------~-------~--~----~
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 PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to