acl.ini.php 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. ;<?php die() ?>
  2. ; SVN FILE: $Id$
  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$
  24. ; * @modifiedby $LastChangedBy$
  25. ; * @lastmodified $Date$
  26. ; * @license http://www.opensource.org/licenses/mit-license.php The MIT License
  27. ; */
  28. ; acl.ini.php - Cake ACL Configuration
  29. ; ---------------------------------------------------------------------
  30. ; Use this file to specify user permissions.
  31. ; aco = access control object (something in your application)
  32. ; aro = access request object (something requesting access)
  33. ;
  34. ; User records are added as follows:
  35. ;
  36. ; [uid]
  37. ; groups = group1, group2, group3
  38. ; allow = aco1, aco2, aco3
  39. ; deny = aco4, aco5, aco6
  40. ;
  41. ; Group records are added in a similar manner:
  42. ;
  43. ; [gid]
  44. ; allow = aco1, aco2, aco3
  45. ; deny = aco4, aco5, aco6
  46. ;
  47. ; The allow, deny, and groups sections are all optional.
  48. ; NOTE: groups names *cannot* ever be the same as usernames!
  49. ;
  50. ; ACL permissions are checked in the following order:
  51. ; 1. Check for user denies (and DENY if specified)
  52. ; 2. Check for user allows (and ALLOW if specified)
  53. ; 3. Gather user's groups
  54. ; 4. Check group denies (and DENY if specified)
  55. ; 5. Check group allows (and ALLOW if specified)
  56. ; 6. If no aro, aco, or group information is found, DENY
  57. ;
  58. ; ---------------------------------------------------------------------
  59. ;-------------------------------------
  60. ;Users
  61. ;-------------------------------------
  62. [username-goes-here]
  63. groups = group1, group2
  64. deny = aco1, aco2
  65. allow = aco3, aco4
  66. ;-------------------------------------
  67. ;Groups
  68. ;-------------------------------------
  69. [groupname-goes-here]
  70. deny = aco5, aco6
  71. allow = aco7, aco8