Tuesday, March 6, 2012

Re: Sending ACL information to the client

You could set in the DOM. In your view, set class names or something
similar in your eg. div tags. The have your JS modify things based on
what it finds.

On Tue, Mar 6, 2012 at 4:40 PM, Roland <roland.schuetz.vienna@gmail.com> wrote:
> Hi!
>
> I want to use CakePHP's ACL Authorization in an Application where I
> don't create html on the server-side, but instead just share the
> information and it is created in the browser through JS (extjs).
>
> Therefore I need to know for each Articles model entry which CRUD
> rights I have. What would be a good way to share this performant?
>
> Maybe use ARO as model and send all information?
> Any tips?
>
> thanks
> Roland
>
> --
> Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
>
>
> 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

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


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

No comments: