Monday, August 30, 2010

ACL and permissions arent working properly

I'm having a problem right now with my application. I have acl set up
and I am using groups for all my users following this tutorial
http://book.cakephp.org/view/1543/Simple-Acl-controlled-Application

One user group I have set up as denied from /controllers using

$this->Acl->deny($group, 'controllers');

and using allow I allowed them to do a few things like add content and
view their user account, but they still have access to everypage on
the site.

In my aros_acos table in my database the value is -1 for _create _read
_update _delete for aco 1, which is controllers

Am I doing this wrong? It seems right to me, but it isnt working.

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en

No comments: