Re: ACL how controll more type of action?
Hi,
I think that you didn't understand the complex ACL logik. But it is
really complex.
The "actions" update, delete, save, add are the actions for the ACO.
So the first question is: what is an ACO? It is an Access Control
Object. Read here more about the logic:
http://book.cakephp.org/view/465/Understanding-How-ACL-Works
So a typical ACO for CakePHP is a method of a controller.
Example:
Controller for Usergroups
Methods:
* add
* delete
* index
* list
* mygroups
* admin
* view
Every Method is an ACO and for every ACO you can set the permissions
update, delete, save, add.
More Information about setting the permissions:
http://book.cakephp.org/view/648/Setting-up-permissions
On 9 Jan., 22:18, Petr Vytlačil <petr.vytla...@gmail.com> wrote:
> Hi in ACL you can controll only action (update, delete, save, add) It
> is bad because app can has more other metod is any solutuion how
> control access for other methor for example:
>
> Controller Users
> Function list(){
> ......
>
> }
>
> THX
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