Re: I can't get ACL-Auth to work
When you use $this->Auth->allow('*') it overrides ACL for ALL of the
actions in the controller. Just change the code to allow only the
actions you want allowed. If you only want to allow the index and
view actions, use this:
$this->Auth->allow('index', 'view');
You will then need to fill your `aros` table with yours groups/users
and `aros_acos` table with the proper permissions for the add and edit
actions to work.
Here's a site that may help: http://aranworld.com/article/161/cakephp-acl-tutorial-what-is-it
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
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home