On Thu, Sep 23, 2010 at 11:14 PM, calzone <calzone@gmail.com> wrote:
Yes, he wrote the tutorial on book.cakephp.org I followed to begin
with.
But neither the tutorial nor his site answer my specific question.
I'm trying to blanket deny any controller action that is accessed via
admin routing to anyone who is not part of one specific group.
Sure, I could manually create an aro-aco for every single action whose
name begins with admin_ --but that defeats the purpose and simplicity
of using a single centralized permission.
It seems to me it should be easy (automatic even) to have acl
automatically hook into admin and superadmin routing so that you
DONT'T HAVE to define permissions for every single action.
> http://mark-story.com/posts/view/auth-and-acl-an-end-to-end-tutorial-...
>
> - S
>> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
> On 23 September 2010 17:45, calzone <calz...@gmail.com> wrote:
>
>
>
> > No takers? I thought for sure there was a simple obvious answer I had
> > overlooked somehow.
>
> > On Sep 22, 1:36 pm, calzone <calz...@gmail.com> wrote:
> > > So I have acl and admin routing on a site.
>
> > > I'd like to create an aro-aco that blanket denies all admin actions to
> > > anyone who is not in group x.
>
> > > And vice versa, i'd like to blanket allow all admin actions to anyone
> > > who is in group x.
>
> > > After that I might fine tune access for certain subgroups or
> > > individuals, but as a starting point, is there a way to set this up or
> > > am I only able to allow or deny access on a controller or action basis?
>
> > with their CakePHP related questions.> > cake-php+unsubscribe@googlegroups.com<cake-php%2Bunsubscribe@googlegroups.c om>For more options, visit this group at
>
> > 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
> >http://groups.google.com/group/cake-php?hl=en
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
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:
Post a Comment