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
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
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