Friday, January 7, 2011

Acl and bindNode()

Hi all!

I have a little problem with the Acl. I have Users beloging to Roles.
I want to set my Acl to check the Roles only, since a per User based
system is not planned. So I followed the tutorial from the Book 1.3
(http://book.cakephp.org/view/1547/Acts-As-a-Requester) where it
describes the same situation:
However using bindNode() in the User model does not stop Users from
being inserted into the Acl's aro list, but as far as I understand the
tutorial and especially the given example of "Group-only-Acl" where no
Users are listet in the aro-list.

Am I doing something wrong or is the given result of the aros just
misleading and the Users will be added anyway but just not being
checked?

Regards,
Jens

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: