| 1 |
lars |
1 |
;<?php die() ?>
|
|
|
2 |
; SVN FILE: $Id: acl.ini.php 7945 2008-12-19 02:16:01Z gwoo $
|
|
|
3 |
;/**
|
|
|
4 |
; * Short description for file.
|
|
|
5 |
; *
|
|
|
6 |
; *
|
|
|
7 |
; * PHP versions 4 and 5
|
|
|
8 |
; *
|
|
|
9 |
; * CakePHP(tm) : Rapid Development Framework http://www.cakephp.org/
|
|
|
10 |
; * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
|
|
|
11 |
; *
|
|
|
12 |
; * Licensed under The MIT License
|
|
|
13 |
; * Redistributions of files must retain the above copyright notice.
|
|
|
14 |
; *
|
|
|
15 |
; * @filesource
|
|
|
16 |
; * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
|
|
|
17 |
; * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
|
|
|
18 |
; * @package cake
|
|
|
19 |
; * @subpackage cake.app.config
|
|
|
20 |
; * @since CakePHP(tm) v 0.10.0.1076
|
|
|
21 |
; * @version $Revision: 7945 $
|
|
|
22 |
; * @modifiedby $LastChangedBy: gwoo $
|
|
|
23 |
; * @lastmodified $Date: 2008-12-18 18:16:01 -0800 (Thu, 18 Dec 2008) $
|
|
|
24 |
; * @license http://www.opensource.org/licenses/mit-license.php The MIT License
|
|
|
25 |
; */
|
|
|
26 |
|
|
|
27 |
; acl.ini.php - Cake ACL Configuration
|
|
|
28 |
; ---------------------------------------------------------------------
|
|
|
29 |
; Use this file to specify user permissions.
|
|
|
30 |
; aco = access control object (something in your application)
|
|
|
31 |
; aro = access request object (something requesting access)
|
|
|
32 |
;
|
|
|
33 |
; User records are added as follows:
|
|
|
34 |
;
|
|
|
35 |
; [uid]
|
|
|
36 |
; groups = group1, group2, group3
|
|
|
37 |
; allow = aco1, aco2, aco3
|
|
|
38 |
; deny = aco4, aco5, aco6
|
|
|
39 |
;
|
|
|
40 |
; Group records are added in a similar manner:
|
|
|
41 |
;
|
|
|
42 |
; [gid]
|
|
|
43 |
; allow = aco1, aco2, aco3
|
|
|
44 |
; deny = aco4, aco5, aco6
|
|
|
45 |
;
|
|
|
46 |
; The allow, deny, and groups sections are all optional.
|
|
|
47 |
; NOTE: groups names *cannot* ever be the same as usernames!
|
|
|
48 |
;
|
|
|
49 |
; ACL permissions are checked in the following order:
|
|
|
50 |
; 1. Check for user denies (and DENY if specified)
|
|
|
51 |
; 2. Check for user allows (and ALLOW if specified)
|
|
|
52 |
; 3. Gather user's groups
|
|
|
53 |
; 4. Check group denies (and DENY if specified)
|
|
|
54 |
; 5. Check group allows (and ALLOW if specified)
|
|
|
55 |
; 6. If no aro, aco, or group information is found, DENY
|
|
|
56 |
;
|
|
|
57 |
; ---------------------------------------------------------------------
|
|
|
58 |
|
|
|
59 |
;-------------------------------------
|
|
|
60 |
;Users
|
|
|
61 |
;-------------------------------------
|
|
|
62 |
|
|
|
63 |
[username-goes-here]
|
|
|
64 |
groups = group1, group2
|
|
|
65 |
deny = aco1, aco2
|
|
|
66 |
allow = aco3, aco4
|
|
|
67 |
|
|
|
68 |
;-------------------------------------
|
|
|
69 |
;Groups
|
|
|
70 |
;-------------------------------------
|
|
|
71 |
|
|
|
72 |
[groupname-goes-here]
|
|
|
73 |
deny = aco5, aco6
|
|
|
74 |
allow = aco7, aco8
|