pictcode / lib / Cake / Test / test_app / Config / acl.ini.php @ d510f2df
履歴 | 表示 | アノテート | ダウンロード (1.214 KB)
| 1 | 635eef61 | spyder1211 | ;<?php exit() ?> |
|---|---|---|---|
| 2 | ; SVN FILE: $Id$ |
||
| 3 | ;/** |
||
| 4 | ; * Test App Ini Based Acl Config File |
||
| 5 | ; * |
||
| 6 | ; * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) |
||
| 7 | ; * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) |
||
| 8 | ; * |
||
| 9 | ; * Licensed under The MIT License |
||
| 10 | ; * Redistributions of files must retain the above copyright notice. |
||
| 11 | ; * |
||
| 12 | ; * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) |
||
| 13 | ; * @link http://cakephp.org CakePHP(tm) Project |
||
| 14 | ; * @package Cake.Test.TestApp.Config |
||
| 15 | ; * @since CakePHP(tm) v 0.10.0.1076 |
||
| 16 | ; * @license http://www.opensource.org/licenses/mit-license.php MIT License |
||
| 17 | ; */ |
||
| 18 | |||
| 19 | ;------------------------------------- |
||
| 20 | ;Users |
||
| 21 | ;------------------------------------- |
||
| 22 | |||
| 23 | [admin] |
||
| 24 | groups = administrators |
||
| 25 | allow = |
||
| 26 | deny = ads |
||
| 27 | |||
| 28 | [paul] |
||
| 29 | groups = users |
||
| 30 | allow = |
||
| 31 | deny = |
||
| 32 | |||
| 33 | [jenny] |
||
| 34 | groups = users |
||
| 35 | allow = ads |
||
| 36 | deny = images, files |
||
| 37 | |||
| 38 | [nobody] |
||
| 39 | groups = anonymous |
||
| 40 | allow = |
||
| 41 | deny = |
||
| 42 | |||
| 43 | ;------------------------------------- |
||
| 44 | ;Groups |
||
| 45 | ;------------------------------------- |
||
| 46 | |||
| 47 | [administrators] |
||
| 48 | deny = |
||
| 49 | allow = posts, comments, images, files, stats, ads |
||
| 50 | |||
| 51 | [users] |
||
| 52 | allow = posts, comments, images, files |
||
| 53 | deny = stats, ads |
||
| 54 | |||
| 55 | [anonymous] |
||
| 56 | allow = |
||
| 57 | deny = posts, comments, images, files, stats, ads |