<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[
<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[
Zend_Application_Resource_Acl is a resource plugin.Zend Framework: Zend_Application_Resource_Acl Component Proposal
Proposed Component Name
Zend_Application_Resource_Acl
Developer Notes
http://framework.zend.com/wiki/display/ZFDEV/Zend_Application_Resource_Acl
Proposers
Benoît Durand
Zend Liaison
TBD
Revision
1.0 - 1 May 2010: Initial Draft. (wiki revision: 12)
Table of Contents
1. Overview
2. References
3. Component Requirements, Constraints, and Acceptance Criteria
4. Dependencies on Other Framework Components
- Zend_Application_Resource_ResourceAbstract
- Zend_Application_Resource_Exception
- Zend_Acl
5. Theory of Operation
The component will work like other resource plugins.
6. Milestones / Tasks
- Milestone 1: design notes will be published here
- Milestone 2: Working prototype checked into the incubator supporting use cases #1, #2, ...
- Milestone 3: Working prototype checked into the incubator supporting use cases #3 and #4.
- Milestone 4: Unit tests exist, work, and are checked into SVN.
- Milestone 5: Initial documentation exists.
7. Class Index
- Zend_Application_Resource_Acl
8. Use Cases
| UC-01 |
|---|
Define roles, resources, and rules in the application configuration
resources.acl.storage.registry.enabled = true
resources.acl.roles.guest.id = "guest"
resources.acl.roles.member.id = "member"
resources.acl.roles.member.parents[] = "guest"
resources.acl.resources.post.id = "post"
resources.acl.resources.subject.id = "subject"
resources.acl.resources.subject.parent = "post"
resources.acl.resources.foo.id = "mvc:index.index"
resources.acl.resources.post.allow.read.roles = "guest"
resources.acl.resources.post.allow.create.roles = "member"
resources.acl.resources.post.allow.edit.roles = "member"
resources.acl.resources.subject.denied.delete.roles = "member"
| UC-02 |
|---|
Use your own class to define ACL
resources.acl.storage.registry.enabled = true
resources.acl.class = "MyCustomAcl"
1 Comment
comments.show.hideFeb 05, 2011
Dolf Schimmel (Freeaqingme)
<p> Archiving this proposal, feel free to recover it when you want to work on it again. For more details see <a href="http://framework.zend.com/wiki/display/ZFDEV/Archiving+of+abandoned+proposals+(Feb+5+2011)">this email</a>.</p>