0

I need some examples (URLs) for adding Zend_Acl (roles and rules, allowing to visit or deny actions). I've googled but didn't find exactly that I need - step by step guide to provide such operations with module, not just controller-action.

BTW, it's good if in example will be used Zend_Config.

Thx in advance!

Charles
  • 50,943
  • 13
  • 104
  • 142
eXp
  • 1

2 Answers2

1

Start by reading the manual

You should at least attempt to solve the problem before asking for others to find articles for you.

But failing that, this is what I do:

  • An ACL resource is my module
  • An ACL privilege is my controller
  • A logged in user has a role
  • When checking the ACL for access, use the logged in user's role and use the request object's module and controller for your ACL resource and privilege
Jake N
  • 10,535
  • 11
  • 66
  • 112
0

Some tutorials here Zendcasts,com > Access Control not sure if its what you are looking for, have a look see.

Edward Hew
  • 134
  • 7