|
|||
|
Hello,
Today I read through the manual about Zend_ACL. I read all about roles and resources and how you can register them and so on. I have an implementation of the ZF MVC concept running. What I don't understand is what an resource exactly is. Is it an controller? Is it an Action? Is it something in my model? Can someone explain this to me? |
|
|||
|
In most cases, the controller/module will be the resource i think... the action is the privilege, which you can allow or deny to your roles.
So, example: /blog/article/edit -> blog = module -> article = controller -> edit = action And then you may have a resource like blog_article and an privilege called "edit".. got it? :P |
![]() |
| Thread Tools | |
| Display Modes | |
|
|