-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
40 lines (26 loc) · 1.4 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
ACL Plugin for CakePHP 2.0
===========================
Version: 2.0.0-RC4
Date: 2011-11-26
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 ACL already configured. 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));
- Access the ACL plugin by navigating to /admin/acl