Code Monkey home page Code Monkey logo

acl's Introduction

ACL Plugin for CakePHP 2.0
===========================

Version: 2.2.0
Date: 2012-09-24
Author: Nicolas Rod <[email protected]>
Website: http://www.alaxos.net/blaxos/pages/view/plugin_acl
License: http://www.opensource.org/licenses/mit-license.php The MIT License

This CakePHP plugin is an interface to manage an ACL protected web application.

It is made to work with an application already configured with ACL. The documentation to configure the ACL 
can be found on the following links :

- http://book.cakephp.org/2.0/en/core-libraries/components/access-control-lists.html
- http://book.cakephp.org/2.0/en/tutorials-and-examples/simple-acl-controlled-application/simple-acl-controlled-application.html


Installation
-------------


- Download the plugin and put it in your 'app/Plugin' or 'plugins' folder
- Configure the 'admin' route (see http://book.cakephp.org/2.0/en/development/routing.html)
- Configure the plugin according to your web application:

	Some settings have to be read by CakePHP when the plugin is loaded. They can be found
	in the 'Acl/Config/bootstrap.php' file.
	
	You have two options to use these settings, as CakePHP doesn't automatically load 
	the bootstrap.php files in plugins:
	
	1.	Copy all the settings in your app/config/bootstrap.php file
	
	or
	
	2.	Load the plugin bootstrap with the plugin
	
	        CakePlugin::load('Acl', array('bootstrap' => true));

- Make sure the AclComponent is declared in your AppController and that your User and Group/Role models are configured to act as requester (see the CakePHP ACL tutorial)  
- Access the ACL plugin by navigating to /admin/acl


About CakePHP 2.0
-----------------

If you use CakePHP version 2.0, the plugin will work only if you do not use the E_STRICT error reporting level.

You can use E_STRICT error reporting level with CakePHP 2.1 or above.
 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.