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