Re: Using Acl on plugins HOWTOs

2010-09-19 Thread alaxos
Hi Bryan,

This won't answer your question precisely, as I'm not sure where you
can find such a tutorial, but I have written a plugin that may help
you in your application: it is a plugin that allows to manage ACL
roles and users permissions on controllers' actions. And it supports
plugins' controllers as well (see at the bottom of the roles'
permissions list in the demo).

If interested, you can find it here: 
http://www.alaxos.net/blaxos/pages/view/plugin_acl

nIcO

On 16 sep, 22:08, Bryan de Asis  wrote:
> Hello,
>
> Is there any tutorial the can teach us to use the acl to set
> permissions to plugins?
>
> Let say...
>
> Role 1
> Role 2
>
> Role1 access
>  - plugin 1
>  - plugin 1 / controller 1
>  - plugin 1 / controller 1 / action 1
>  - plugin 1 / controller 1 / action 2
>  - plugin 1 / controller 2 / action 1
>  - plugin 1 / controller 2 / action 2
>
>  - plugin 2
>  - plugin 2 / controller 1
>  - plugin 2 / controller 1 / action 1
>  - plugin 2 / controller 1 / action 2
>  - plugin 2 / controller 2 / action 1
>  - plugin 2 / controller 2 / action 2
>
>  - plugin 3
>  - plugin 3 / controller 1
>  - plugin 3 / controller 1 / action 1
>  - plugin 3 / controller 1 / action 2
>  - plugin 3 / controller 2 / action 1
>  - plugin 3 / controller 2 / action 2
>
> Role 2 access
>  - plugin 1
>  - plugin 1 / controller 1
>  - plugin 1 / controller 1 / action 1
>  - plugin 1 / controller 2 / action 2
>
>  - plugin 3
>  - plugin 3 / controller 1
>  - plugin 3 / controller 1 / action 1
>  - plugin 3 / controller 2 / action 1
>  - plugin 3 / controller 2 / action 2
>
> anyone can help me... please i need your help... i'm creating a
> scalable app..
>
> Thanks,
>
> Bryan

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Using Acl on plugins HOWTOs

2010-09-16 Thread Bryan de Asis
Hello,

Is there any tutorial the can teach us to use the acl to set
permissions to plugins?

Let say...

Role 1
Role 2

Role1 access
 - plugin 1
 - plugin 1 / controller 1
 - plugin 1 / controller 1 / action 1
 - plugin 1 / controller 1 / action 2
 - plugin 1 / controller 2 / action 1
 - plugin 1 / controller 2 / action 2

 - plugin 2
 - plugin 2 / controller 1
 - plugin 2 / controller 1 / action 1
 - plugin 2 / controller 1 / action 2
 - plugin 2 / controller 2 / action 1
 - plugin 2 / controller 2 / action 2

 - plugin 3
 - plugin 3 / controller 1
 - plugin 3 / controller 1 / action 1
 - plugin 3 / controller 1 / action 2
 - plugin 3 / controller 2 / action 1
 - plugin 3 / controller 2 / action 2

Role 2 access
 - plugin 1
 - plugin 1 / controller 1
 - plugin 1 / controller 1 / action 1
 - plugin 1 / controller 2 / action 2

 - plugin 3
 - plugin 3 / controller 1
 - plugin 3 / controller 1 / action 1
 - plugin 3 / controller 2 / action 1
 - plugin 3 / controller 2 / action 2

anyone can help me... please i need your help... i'm creating a
scalable app..

Thanks,

Bryan

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en