[ Index ]
 

Code source de CakePHP 1.1.13.4450

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/app/config/ -> acl.ini.php (source)

   1  ;<?php die() ?>
   2  ; SVN FILE: $Id: acl.ini.php 4409 2007-02-02 13:20:59Z phpnut $
   3  ;/**
   4  ; * Short description for file.
   5  ; *
   6  ; *
   7  ; * PHP versions 4 and 5
   8  ; *
   9  ; * CakePHP(tm) :  Rapid Development Framework <http://www.cakephp.org/>
  10  ; * Copyright 2005-2007, Cake Software Foundation, Inc.
  11  ; *                            1785 E. Sahara Avenue, Suite 490-204
  12  ; *                            Las Vegas, Nevada 89104
  13  ; *
  14  ; *  Licensed under The MIT License
  15  ; *  Redistributions of files must retain the above copyright notice.
  16  ; *
  17  ; * @filesource
  18  ; * @copyright        Copyright 2005-2007, Cake Software Foundation, Inc.
  19  ; * @link            http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
  20  ; * @package        cake
  21  ; * @subpackage    cake.app.config
  22  ; * @since            CakePHP(tm) v 0.10.0.1076
  23  ; * @version        $Revision: 4409 $
  24  ; * @modifiedby    $LastChangedBy: phpnut $
  25  ; * @lastmodified    $Date: 2007-02-02 07:20:59 -0600 (Fri, 02 Feb 2007) $
  26  ; * @license        http://www.opensource.org/licenses/mit-license.php The MIT License
  27  ; */
  28  
  29  ; acl.ini.php - Cake ACL Configuration
  30  ; ---------------------------------------------------------------------
  31  ; Use this file to specify user permissions.
  32  ; aco = access control object (something in your application)
  33  ; aro = access request object (something requesting access)
  34  ;
  35  ; User records are added as follows:
  36  ;
  37  ; [uid]
  38  ; groups = group1, group2, group3
  39  ; allow = aco1, aco2, aco3
  40  ; deny = aco4, aco5, aco6
  41  ;
  42  ; Group records are added in a similar manner:
  43  ;
  44  ; [gid]
  45  ; allow = aco1, aco2, aco3
  46  ; deny = aco4, aco5, aco6
  47  ;
  48  ; The allow, deny, and groups sections are all optional.
  49  ; NOTE: groups names *cannot* ever be the same as usernames!
  50  ;
  51  ; ACL permissions are checked in the following order:
  52  ; 1. Check for user denies (and DENY if specified)
  53  ; 2. Check for user allows (and ALLOW if specified)
  54  ; 3. Gather user's groups
  55  ; 4. Check group denies (and DENY if specified)
  56  ; 5. Check group allows (and ALLOW if specified)
  57  ; 6. If no aro, aco, or group information is found, DENY
  58  ;
  59  ; ---------------------------------------------------------------------
  60  
  61  ;-------------------------------------
  62  ;Users
  63  ;-------------------------------------
  64  
  65  [username-goes-here]
  66  groups = group1, group2
  67  deny = aco1, aco2
  68  allow = aco3, aco4
  69  
  70  ;-------------------------------------
  71  ;Groups
  72  ;-------------------------------------
  73  
  74  [groupname-goes-here]
  75  deny = aco5, aco6
  76  allow = aco7, aco8


Généré le : Sun Feb 25 19:27:47 2007 par Balluche grâce à PHPXref 0.7