Base for a static organization website

acl.ini.php 2.0KB

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