pictcode / lib / Cake / Console / Templates / skel / Config / acl.ini.php @ d510f2df
履歴 | 表示 | アノテート | ダウンロード (1.528 KB)
| 1 |
;<?php exit() ?> |
|---|---|
| 2 |
;/** |
| 3 |
; * ACL Configuration |
| 4 |
; * |
| 5 |
; * @link http://cakephp.org CakePHP(tm) Project |
| 6 |
; * @package app.Config |
| 7 |
; * @since CakePHP(tm) v 0.10.0.1076 |
| 8 |
; */ |
| 9 |
|
| 10 |
; acl.ini.php - CakePHP ACL Configuration |
| 11 |
; --------------------------------------------------------------------- |
| 12 |
; Use this file to specify user permissions. |
| 13 |
; aco = access control object (something in your application) |
| 14 |
; aro = access request object (something requesting access) |
| 15 |
; |
| 16 |
; User records are added as follows: |
| 17 |
; |
| 18 |
; [uid] |
| 19 |
; groups = group1, group2, group3 |
| 20 |
; allow = aco1, aco2, aco3 |
| 21 |
; deny = aco4, aco5, aco6 |
| 22 |
; |
| 23 |
; Group records are added in a similar manner: |
| 24 |
; |
| 25 |
; [gid] |
| 26 |
; allow = aco1, aco2, aco3 |
| 27 |
; deny = aco4, aco5, aco6 |
| 28 |
; |
| 29 |
; The allow, deny, and groups sections are all optional. |
| 30 |
; NOTE: groups names *cannot* ever be the same as usernames! |
| 31 |
; |
| 32 |
; ACL permissions are checked in the following order: |
| 33 |
; 1. Check for user denies (and DENY if specified) |
| 34 |
; 2. Check for user allows (and ALLOW if specified) |
| 35 |
; 3. Gather user's groups |
| 36 |
; 4. Check group denies (and DENY if specified) |
| 37 |
; 5. Check group allows (and ALLOW if specified) |
| 38 |
; 6. If no aro, aco, or group information is found, DENY |
| 39 |
; |
| 40 |
; --------------------------------------------------------------------- |
| 41 |
|
| 42 |
;------------------------------------- |
| 43 |
;Users |
| 44 |
;------------------------------------- |
| 45 |
|
| 46 |
[username-goes-here] |
| 47 |
groups = group1, group2 |
| 48 |
deny = aco1, aco2 |
| 49 |
allow = aco3, aco4 |
| 50 |
|
| 51 |
;------------------------------------- |
| 52 |
;Groups |
| 53 |
;------------------------------------- |
| 54 |
|
| 55 |
[groupname-goes-here] |
| 56 |
deny = aco5, aco6 |
| 57 |
allow = aco7, aco8 |