Mercurial > hg > Members > shoshi > webvirt
comparison app/config/acl.ini.php @ 0:261e66bd5a0c
hg init
author | Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 24 Jul 2011 21:08:31 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:261e66bd5a0c |
---|---|
1 ;<?php die() ?> | |
2 ; SVN FILE: $Id$ | |
3 ;/** | |
4 ; * ACL configuration | |
5 ; * | |
6 ; * | |
7 ; * PHP versions 4 and 5 | |
8 ; * | |
9 ; * CakePHP(tm) : Rapid Development Framework http://cakephp.org | |
10 ; * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) | |
11 ; * | |
12 ; * Licensed under The MIT License | |
13 ; * Redistributions of files must retain the above copyright notice. | |
14 ; * | |
15 ; * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) | |
16 ; * @link http://cakephp.org CakePHP(tm) Project | |
17 ; * @package cake | |
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) | |
21 ; */ | |
22 | |
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) | |
28 ; | |
29 ; User records are added as follows: | |
30 ; | |
31 ; [uid] | |
32 ; groups = group1, group2, group3 | |
33 ; allow = aco1, aco2, aco3 | |
34 ; deny = aco4, aco5, aco6 | |
35 ; | |
36 ; Group records are added in a similar manner: | |
37 ; | |
38 ; [gid] | |
39 ; allow = aco1, aco2, aco3 | |
40 ; deny = aco4, aco5, aco6 | |
41 ; | |
42 ; The allow, deny, and groups sections are all optional. | |
43 ; NOTE: groups names *cannot* ever be the same as usernames! | |
44 ; | |
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 | |
52 ; | |
53 ; --------------------------------------------------------------------- | |
54 | |
55 ;------------------------------------- | |
56 ;Users | |
57 ;------------------------------------- | |
58 | |
59 [username-goes-here] | |
60 groups = group1, group2 | |
61 deny = aco1, aco2 | |
62 allow = aco3, aco4 | |
63 | |
64 ;------------------------------------- | |
65 ;Groups | |
66 ;------------------------------------- | |
67 | |
68 [groupname-goes-here] | |
69 deny = aco5, aco6 | |
70 allow = aco7, aco8 |