Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current  |   View Page History
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_Controller_Plugin_Acl Component Proposal

Proposed Component Name Zend_Acl_Controller_Plugin_Acl
Developer Notes http://framework.zend.com/wiki/display/ZFDEV/Zend_Acl_Controller_Plugin_Acl
Proposers Aldemar Bernal
Revision 1.0 - 14 November 2007: Proposal created. (wiki revision: 8)

Table of Contents

1. Overview

Zend_Acl_Controller_Plugin_Acl is a Front Controller plug in that allows to grant or deny access to the application based on ACL.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

Most requirements take the form of "foo will do ...." or "foo will not support ...", although different words and sentence structure might be used. Adding functionality to your proposal is requirements creep (bad), unless listed below. Discuss major changes with your team first, and then open a "feature improvement" issue against this component.

  • This component will allow developers to stop validating if an user has access to certain page.
  • This component will help applications to be more secure.

4. Dependencies on Other Framework Components

  • Zend_Acl
  • Zend_Config
  • Zend_Controller_Front
  • Zend_Acl_Exception
  • simplexml

5. Theory of Operation

This component can be instantiated using an ACL object, a Zend Config object or a XML string, this object (that will be converted to a Zend_Acl) must have a role (which name can be configurated on the plugin) and the allowed/denied operations (module/controller/view combination). After created, it must be registered as a Front Controller Plugin.

6. Milestones / Tasks

  • Milestone 1: Create ZF Wiki info.
  • Milestone 2: Working prototype and some examples
  • Milestone 3: Working prototype checked into the incubator supporting use cases.
  • Milestone 4: Unit tests exist, work, and are checked into SVN.
  • Milestone 5: Initial documentation exists.

7. Class Index

  • Zend_Acl_Controller_Plugin_Acl

8. Use Cases

9. Class Skeletons

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

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.