I have read many article but I don't understand how set and use the
PHPGACL.
For example
if I have a service A that uses controller 1 action 1.1 and controller
2 action 2.1 and
a service B that uses controller 1 action 1.1 and
controller 2 action 2.2
Then
the Service A is active for the group of user X
the Service B is active for the group of user Y
How can set PHPGACL in this case?
Many Thanks
Marco
On 27 Ott, 22:31, McFadly <[EMAIL PROTECTED]> wrote:
> Marco check out this article in the bakery:
>
> http://bakery.cakephp.org/articles/view/how-to-use-acl-in-1-2-x
>
> I think the answer is yes. I've been working on figuring out ACL over
> the last couple of days. It's taken me about 3 reads to get my head
> wrapped around it, but it has been worth it.
>
> On Oct 26, 7:24 am, "[EMAIL PROTECTED]"
>
> <[EMAIL PROTECTED]> wrote:
> > Can PHPGACL be a solution for resolve this?
>
> > On 26 Ott, 12:07, "[EMAIL PROTECTED]"
>
> > <[EMAIL PROTECTED]> wrote:
> > > Hi
> > > I have this situation.
> > > I want to create a site where there are many services.
> > > Then there are many users of the site.
> > > These users have acces to some service and not have acces to other
> > > service.
> > > The users,that have acces to a service, can be admin of the service or
> > > simple user of the service.
>
> > > Now my project's choice is that:
> > > Associate every service with a controller.
> > > Inside a controller I'll have actions for admin and normal actions.
> > > Now I'll project a acces control component for control acces to the
> > > action of every controller(service).
>
> > > My first question is : How can I use the cake ACL component to do
> > > this?
>
> > > But there is a further complication : I have some view in some
> > > controller that use ajax->request to load inside their div a view of
> > > another controller .
>
> > > Now I would avoid that a user that has acces to a service(controller/
> > > action) and loads a view
> > > of the service like the previous , sees a "NO ACCESS" message in the
> > > div where the controller loads the other view.
>
> > > Practically I would manage this particular relation that exists
> > > between different services.
> > > Can I do that with cake ACL component? How can I do this?
>
> > > Many Thanks
> > > Marco
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---