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 675 2008-12-26 00:27:14Z 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. (http://www.cakefoundation.org)
00011 ; *
00012 ; *  Licensed under The MIT License
00013 ; *  Redistributions of files must retain the above copyright notice.
00014 ; *
00015 ; * @filesource
00016 ; * @copyright     Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
00017 ; * @link          http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
00018 ; * @package       cake
00019 ; * @subpackage    cake.app.config
00020 ; * @since         CakePHP(tm) v 0.10.0.1076
00021 ; * @version       $Revision: 675 $
00022 ; * @modifiedby    $LastChangedBy: gwoo $
00023 ; * @lastmodified  $Date: 2008-12-25 18:27:14 -0600 (Thu, 25 Dec 2008) $
00024 ; * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
00025 ; */
00026 
00027 ; acl.ini.php - Cake ACL Configuration
00028 ; ---------------------------------------------------------------------
00029 ; Use this file to specify user permissions.
00030 ; aco = access control object (something in your application)
00031 ; aro = access request object (something requesting access)
00032 ;
00033 ; User records are added as follows:
00034 ;
00035 ; [uid]
00036 ; groups = group1, group2, group3
00037 ; allow = aco1, aco2, aco3
00038 ; deny = aco4, aco5, aco6
00039 ;
00040 ; Group records are added in a similar manner:
00041 ;
00042 ; [gid]
00043 ; allow = aco1, aco2, aco3
00044 ; deny = aco4, aco5, aco6
00045 ;
00046 ; The allow, deny, and groups sections are all optional.
00047 ; NOTE: groups names *cannot* ever be the same as usernames!
00048 ;
00049 ; ACL permissions are checked in the following order:
00050 ; 1. Check for user denies (and DENY if specified)
00051 ; 2. Check for user allows (and ALLOW if specified)
00052 ; 3. Gather user's groups
00053 ; 4. Check group denies (and DENY if specified)
00054 ; 5. Check group allows (and ALLOW if specified)
00055 ; 6. If no aro, aco, or group information is found, DENY
00056 ;
00057 ; ---------------------------------------------------------------------
00058 
00059 ;-------------------------------------
00060 ;Users
00061 ;-------------------------------------
00062 
00063 [username-goes-here]
00064 groups = group1, group2
00065 deny = aco1, aco2
00066 allow = aco3, aco4
00067 
00068 ;-------------------------------------
00069 ;Groups
00070 ;-------------------------------------
00071 
00072 [groupname-goes-here]
00073 deny = aco5, aco6
00074 allow = aco7, aco8