Skip to end of metadata
Go to start of metadata

<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[]]></ac:plain-text-body></ac:macro>
<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[

Under Construction
This proposal is under construction and is not ready for review.

<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[

Zend Framework: Zend_Acl & Zend_Acl_Adapter Component Proposal

Proposed Component Name Zend_Acl & Zend_Acl_Adapter
Developer Notes http://framework.zend.com/wiki/display/ZFDEV/Zend_Acl & Zend_Acl_Adapter
Proposers [Niek Slatius]
Zend Liaison TBD
Revision 0.1 - 17 December 2008: Initial Draft. (wiki revision: 15)

Table of Contents

1. Overview

Zend_Acl is a component that manages ACL rules. Zend_Acl currently has no (flexible) support for retreiving ACL rules from persistent sources and no support for storing ACL rules to persistent sources. This improvement wil provide support for aforementioned functionality by adding support for adapters to the Zend_Acl component.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

  • Zend_Acl will add have support for accepting an adapter from which this component can read ACL rules
  • Zend_Acl will add have support for accepting an adapter to which this component can write ACL rules
  • Zend_Acl will add have support for accepting a default adapter for each new instance of Zend_Acl
  • Zend_Acl will add have support for accepting a default readonly value for each new instance of Zend_Acl

4. Dependencies on Other Framework Components

  • Zend_Acl_Exception

5. Theory of Operation

The component will provide an interface to which an instance of a Zend_Acl_Adapter_Interface can be provided.

This Zend_Acl_Adapter_Interface will provide support for reading:

  • roles
  • recources
  • privileges

This Zend_Acl_Adapter_Interface will provide support for writing:

  • save (roles, recources and privileges in one go, because of possible integrity constraint handling )

The Zend_Acl_Adapter_Interface will also provide support for being set as readonly.

6. Milestones / Tasks

  • Milestone 1: Requirement specifications
  • Milestone 2: Receive comments from the community about draft / suggestions from community for further improvements
  • Milestone 3: Create working prototype

7. Class Index

  • Zend_Acl
  • Zend_Acl_Exception
  • Zend_Acl_Adapter_Exception
  • Zend_Acl_Adapter_Interface
  • Zend_Acl_Adapter_Abstract

8. Use Cases

config.ini:

9. Class Skeletons

]]></ac:plain-text-body></ac:macro>

]]></ac:plain-text-body></ac:macro>

Labels:
None
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="http://framework.zend.com/wiki/display/ZFDEV/Archiving+of+abandoned+proposals+(Feb+5+2011)">this email</a>.</p>