Saturday, January 8, 2011

Re: Acl and bindNode()

So it seems that the documentation is correct regarding the desired
result but inconsistent in the example. So I have to live with the
fact that my Users are still added to the Aro table, even though the
example in the book implies something else.

Thank you!

On 7 Jan., 23:30, cricket <zijn.digi...@gmail.com> wrote:
> On Fri, Jan 7, 2011 at 7:25 AM, Jens Dittrich <jdittr...@gmail.com> wrote:
> > 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?
>
> You're not alone. See this thread:http://groups.google.com/group/cake-php/browse_thread/thread/1a758f55...
>
> I don't know if it was ever resolved. Searching "bindNode" in tickets
> shows these, though:http://cakephp.lighthouseapp.com/projects/42648/tickets/1343-bindnode...http://cakephp.lighthouseapp.com/projects/42648/tickets/1395-problem-...

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


Real Estate