Base for a static organization website

acl.ini.php 1.5KB

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