README.txt 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. Content Access Module
  2. -----------------------
  3. by Wolfgang Ziegler, nuppla@zites.net
  4. Yet another node access module.
  5. This module allows you to manage permissions for content types by role. It allows you to specifiy
  6. custom view, view own, edit, edit own, delete and delete own permissions for each content type.
  7. Optionally you can enable per content access settings, so you can customize the access for each
  8. content node.
  9. In particular
  10. * it comes with sensible defaults, so you need not configure anything and everything stays working
  11. * it is as flexible as you want. It can work with per content type settings, per content node settings
  12. as well as with flexible Access Control Lists (with the help of the ACL module).
  13. * it trys to reuse existing functionality instead of reimplementing it. So one can install the ACL
  14. module and set per user access control settings per content node.
  15. Furthermore the module provides conditions and actions for the rules module, which allows one
  16. to configure even rule-based access permissions.
  17. * it optimizes the written content node grants, so that only the really necessary grants are written.
  18. This is important for the performance of your site.
  19. * it takes access control as important as it is. E.g. the module has a bunch of simpletests to ensure
  20. everything is working right.
  21. * it respects and makes use of drupal's built in permissions as far as possible. Which means the
  22. access control tab provided by this module takes them into account and provides you a good overview
  23. about the really applied access control settings. [1]
  24. So the module is simple to use, but can be configured to provide really fine-grained permissions!
  25. Installation
  26. ------------
  27. * Copy the content access module's directory to your modules directory and activate the module.
  28. * Optionally download and install the ACL module too.
  29. * Edit a content type at admin/content/types. There will be a new tab "Access Control".
  30. ACL Module
  31. -----------
  32. You can find the ACL module at http://drupal.org/project/acl. To make use of Access Control Lists
  33. you'll need to enable per content node access control settings for a content type. At the access
  34. control tab of such a content node you are able to grant view, edit or delete permission for specific
  35. users.
  36. Running multiple node access modules on a site (Advanced!)
  37. -----------------------------------------------------------
  38. A drupal node access module can only grant access to content nodes, but not deny it. So if you
  39. are using multiple node access modules, access will be granted to a node as soon as one of the
  40. module grants access to it.
  41. However you can influence the behaviour by changing the priority of the content access module as
  42. drupal applies *only* the grants with the highest priority. So if content access has the highest
  43. priority *alone*, only its grants will be applied.
  44. By default node access modules use priority 0.
  45. Footnotes
  46. ----------
  47. [1] Note that this overview can't take other modules into account, which might also alter node access.
  48. If you have multiple modules installed that alter node access, read the paragraph about "Running
  49. multiple node access modules on a site".