acl.ini.php

Go to the documentation of this file.
00001 ;<?php die() ?>
00002 ; SVN FILE: $Id: cake_2console_2libs_2templates_2skel_2config_2acl_8ini_8php-source.html 580 2008-07-01 14:45:49Z gwoo $
00003 ;/**
00004 ; * Short description for file.
00005 ; *
00006 ; *
00007 ; * PHP versions 4 and 5
00008 ; *
00009 ; * CakePHP(tm) :  Rapid Development Framework <http://www.cakephp.org/>
00010 ; * Copyright 2005-2008, Cake Software Foundation, Inc.
00011 ; *                         1785 E. Sahara Avenue, Suite 490-204
00012 ; *                         Las Vegas, Nevada 89104
00013 ; *
00014 ; *  Licensed under The MIT License
00015 ; *  Redistributions of files must retain the above copyright notice.
00016 ; *
00017 ; * @filesource
00018 ; * @copyright      Copyright 2005-2008, Cake Software Foundation, Inc.
00019 ; * @link           http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
00020 ; * @package        cake
00021 ; * @subpackage cake.app.config
00022 ; * @since          CakePHP(tm) v 0.10.0.1076
00023 ; * @version        $Revision: 580 $
00024 ; * @modifiedby $LastChangedBy: gwoo $
00025 ; * @lastmodified   $Date: 2008-07-01 09:45:49 -0500 (Tue, 01 Jul 2008) $
00026 ; * @license        http://www.opensource.org/licenses/mit-license.php The MIT License
00027 ; */
00028 
00029 ; acl.ini.php - Cake ACL Configuration
00030 ; ---------------------------------------------------------------------
00031 ; Use this file to specify user permissions.
00032 ; aco = access control object (something in your application)
00033 ; aro = access request object (something requesting access)
00034 ;
00035 ; User records are added as follows:
00036 ;
00037 ; [uid]
00038 ; groups = group1, group2, group3
00039 ; allow = aco1, aco2, aco3
00040 ; deny = aco4, aco5, aco6
00041 ;
00042 ; Group records are added in a similar manner:
00043 ;
00044 ; [gid]
00045 ; allow = aco1, aco2, aco3
00046 ; deny = aco4, aco5, aco6
00047 ;
00048 ; The allow, deny, and groups sections are all optional.
00049 ; NOTE: groups names *cannot* ever be the same as usernames!
00050 ;
00051 ; ACL permissions are checked in the following order:
00052 ; 1. Check for user denies (and DENY if specified)
00053 ; 2. Check for user allows (and ALLOW if specified)
00054 ; 3. Gather user's groups
00055 ; 4. Check group denies (and DENY if specified)
00056 ; 5. Check group allows (and ALLOW if specified)
00057 ; 6. If no aro, aco, or group information is found, DENY
00058 ;
00059 ; ---------------------------------------------------------------------
00060 
00061 ;-------------------------------------
00062 ;Users
00063 ;-------------------------------------
00064 
00065 [username-goes-here]
00066 groups = group1, group2
00067 deny = aco1, aco2
00068 allow = aco3, aco4
00069 
00070 ;-------------------------------------
00071 ;Groups
00072 ;-------------------------------------
00073 
00074 [groupname-goes-here]
00075 deny = aco5, aco6
00076 allow = aco7, aco8