zend-acl

User-based dynamic permissions with Zend_ACL

Is it possible to assign users individual permissions based on dynamic elements in a Zend Framework application? I have tables like so: clients (id, name, contact_name, contact_number, logo, active) modules (id, client_id, module_id, active) permissions (id, user_id, client_id, module_id) users (id, username, password, email, realname)...

How do I inject access control into a service layer of mvc application?

I'm coding a zend framework application using the the standard mvc paradigm with an added service layer to take care of application/business logic. It seems quite popular to put your access control into your services, rather than your modules/controllers/actions, however, I have only seen simple examples with static roles and permissions...

PHP, ZF: Zend_Acl for module-controller-action

hi 2 all. 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! ...

Zend Navigation - various navigation blocks

Hi, I have a navigation.xml file: <?xml version="1.0" encoding="UTF-8"?> <config> <nav> <programm_nav> <label></label> <uri>#</uri> <pages> <all> <label>test1</label> <resource>default:programme</resource> <module...

Zend_Acl - Role per resource

I'm trying to implement Zend_Acl. I've never used it before and whilst I can get basic acl stuff working on the controller/action level, I need users to have different roles on different projects, say admin, editor, etc. So a user could create projects and they would be able edit/delete their own projects, but they may also be invited...

Zend_Acl Whitelist VS Blacklist?

Should i use a whitelist or blacklist approach to Zend_Acl? By that i mean deny any and all resources to everyone and write each single allow case for each role [blacklist] or allow all resources and write each deny care for each role [whitelist] ...

Is Zend ACL suitable for permissions for content by owner

I think Zend ACL is used to give permissions to user types (student, teacher). Can it be used to give permissions on per content basis. What I mean is this blog post was written by this user and they can edit it. Others can't edit it. Can Zend ACL work with this requirement? ...