Skip to end of metadata
Go to start of metadata

<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 Framework: Zend_Application_Resource_Acl Component Proposal

Proposed Component Name Zend_Application_Resource_Acl
Developer Notes
Proposers Benoît Durand
Zend Liaison TBD
Revision 1.0 - 1 May 2010: Initial Draft. (wiki revision: 12)

Table of Contents

1. Overview

Zend_Application_Resource_Acl is a resource plugin.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

  • This component will allow to define roles, resources, and rules from configuration file.
  • This component will allow to define a custom class for ACL.

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


Define roles, resources, and rules in the application configuration = true = "guest" = "member"
resources.acl.roles.member.parents[] = "guest" = "post" = "subject"
resources.acl.resources.subject.parent = "post" = "mvc:index.index" = "guest" = "member" = "member"
resources.acl.resources.subject.denied.delete.roles = "member"



Use your own class to define ACL = true
resources.acl.class = "MyCustomAcl"

9. Class Skeletons



proposal proposal Delete
zend_application zend_application Delete
zend_acl zend_acl Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Feb 05, 2011

    <p> Archiving this proposal, feel free to recover it when you want to work on it again. For more details see <a href="">this email</a>.</p>