I've come a step closer.
I had to add $this->Auth->allow('*') to my pages controller. Now I
can't access any group or user actions when I'm not logged in, and it
redirects me to the login page.But now, I shouldn't be able to access the add or edit actions in the pages controller. How can I solve this? :) On 20 feb, 08:56, mattyh88 <[email protected]> wrote: > No, not yet. As i haven't made any groups (aros) yet. > Should i first fully disable auth-acl so i van make my groups / fill > up my aros_acos table? > > On 19 feb, 23:37, MST <[email protected]> wrote: > > > Do you have any records in your aros_acos table? > > > On Feb 19, 2:00 pm, mattyh88 <[email protected]> wrote: > > > > I started with the ACL tutorial on the cakephp website. But I can't > > > get it to work properly. > > > > Things I did: > > > > 1. Set up the 5 tables (aros, acos, aros_acos, groups, users) > > > > 2. Baked the models (User, Group) - Edited them so they act as > > > requester .. (followed the tutorial for the right code) > > > 3. Baked the controllers (users_controller, groups_controller) > > > 4. Baked the views for User & Group > > > > 5. Added a login view in the users folder + added login & logout > > > actions to the users controller > > > 6. Added the app_controller file with beforeFilter function > > > 7. Fill up the acos table > > > 8. Added the actionpath thingie.. > > > > Now when I try to go to .../app/groups/add, it says: ( -- translated > > > from Dutch -- ) > > > > "This page doesn't redirect the right way, Firefox concluded that, the > > > server redirects the request for this address on a way that will never > > > end" > > > > I really haven't got a clue on what I'm doing wrong here :( > > > > Thank you in advance, > > > matty 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 [email protected] 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
