acl.ini.php 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. ;<?php exit() ?>
  2. ;/**
  3. ; * ACL Configuration
  4. ; *
  5. ; *
  6. ; * PHP 5
  7. ; *
  8. ; * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
  9. ; * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
  10. ; *
  11. ; * Licensed under The MIT License
  12. ; * Redistributions of files must retain the above copyright notice.
  13. ; *
  14. ; * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
  15. ; * @link http://cakephp.org CakePHP(tm) Project
  16. ; * @package app.Config
  17. ; * @since CakePHP(tm) v 0.10.0.1076
  18. ; * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  19. ; */
  20. ; acl.ini.php - Cake ACL Configuration
  21. ; ---------------------------------------------------------------------
  22. ; Use this file to specify user permissions.
  23. ; aco = access control object (something in your application)
  24. ; aro = access request object (something requesting access)
  25. ;
  26. ; User records are added as follows:
  27. ;
  28. ; [uid]
  29. ; groups = group1, group2, group3
  30. ; allow = aco1, aco2, aco3
  31. ; deny = aco4, aco5, aco6
  32. ;
  33. ; Group records are added in a similar manner:
  34. ;
  35. ; [gid]
  36. ; allow = aco1, aco2, aco3
  37. ; deny = aco4, aco5, aco6
  38. ;
  39. ; The allow, deny, and groups sections are all optional.
  40. ; NOTE: groups names *cannot* ever be the same as usernames!
  41. ;
  42. ; ACL permissions are checked in the following order:
  43. ; 1. Check for user denies (and DENY if specified)
  44. ; 2. Check for user allows (and ALLOW if specified)
  45. ; 3. Gather user's groups
  46. ; 4. Check group denies (and DENY if specified)
  47. ; 5. Check group allows (and ALLOW if specified)
  48. ; 6. If no aro, aco, or group information is found, DENY
  49. ;
  50. ; ---------------------------------------------------------------------
  51. ;-------------------------------------
  52. ;Users
  53. ;-------------------------------------
  54. [username-goes-here]
  55. groups = group1, group2
  56. deny = aco1, aco2
  57. allow = aco3, aco4
  58. ;-------------------------------------
  59. ;Groups
  60. ;-------------------------------------
  61. [groupname-goes-here]
  62. deny = aco5, aco6
  63. allow = aco7, aco8