7 ; * PHP versions 4 and 5
9 ; * CakePHP(tm) : Rapid Development Framework http://cakephp.org
10 ; * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
12 ; * Licensed under The MIT License
13 ; * Redistributions of files must retain the above copyright notice.
15 ; * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
16 ; * @link http://cakephp.org CakePHP(tm) Project
18 ; * @subpackage cake.app.config
19 ; * @since CakePHP(tm) v 0.10.0.1076
20 ; * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
23 ; acl
.ini
.php
- Cake ACL Configuration
24 ; ---------------------------------------------------------------------
25 ; Use this file to specify user permissions
.
26 ; aco
= access control
object (something in your application
)
27 ; aro
= access request
object (something requesting access
)
29 ; User records are added
as follows
:
32 ; groups
= group1
, group2
, group3
33 ; allow
= aco1
, aco2
, aco3
34 ; deny
= aco4
, aco5
, aco6
36 ; Group records are added in a similar manner
:
39 ; allow
= aco1
, aco2
, aco3
40 ; deny
= aco4
, aco5
, aco6
42 ; The allow
, deny
, and groups sections are all optional
.
43 ; NOTE
: groups names
*cannot
* ever be the same
as usernames
!
45 ; ACL permissions are checked in the following order
:
46 ; 1. Check
for user
denies (and DENY
if specified
)
47 ; 2. Check
for user
allows (and ALLOW
if specified
)
48 ; 3. Gather user
's groups
49 ; 4. Check group denies (and DENY if specified)
50 ; 5. Check group allows (and ALLOW if specified)
51 ; 6. If no aro, aco, or group information is found, DENY
53 ; ---------------------------------------------------------------------
55 ;-------------------------------------
57 ;-------------------------------------
60 groups = group1, group2
64 ;-------------------------------------
66 ;-------------------------------------