You are here

README.txt in Domain Access 7.2

README file for Domain Strict.

File

domain_strict/README.txt
View source
  1. /**
  2. * @file
  3. * README file for Domain Strict.
  4. */
  5. Domain Strict
  6. Forces users to be assigned to a domain in order to view content on that domain.
  7. CONTENTS
  8. --------
  9. 1. Introduction
  10. 2. Installation
  11. 3. Configuration
  12. 4. Anonymous and Authenticated Users
  13. ----
  14. 1. Introduction
  15. The Domain Strict module is a small extension with two purposes:
  16. First, it changes the default Domain Access behavior. This module
  17. makes the grants given to a user specific to the domains that the user
  18. is registered to see. Normally, all users are granted the same permission
  19. to view content. In the case of Domain Strict, individual users can
  20. only see content on domains that they belong to, or content that is
  21. assigned to 'all affiliates'.
  22. Second, it shows module developers how to alter the behavior of
  23. the Domain Access module by using the API. In this case, we only
  24. use the function hook_domaingrants() to change the default module
  25. behavior.
  26. For developers looking to extend the Domain Access module, this
  27. small module is a guide.
  28. See http://drupal.org/node/199846 for the history of this module.
  29. ----
  30. 2. Installation
  31. The Domain Strict module comes with the Domain Access download.
  32. To install, you simply enable the module at Admin > Build > Modules.
  33. No database tables are installed and the module itself has no
  34. configuration options.
  35. ----
  36. 3. Configuration
  37. Since this module changes the way the Domain Access module behaves,
  38. you may want to alter some of the default Domain Access settings.
  39. Specifically, read up on the 'Special page requests' section of the main
  40. README.
  41. If you want this module to restrict all content viewing, you should:
  42. 1) Set the 'Search settings' to the default value:
  43. 'Search content for the current domain only'
  44. 2) Clear out any rules in the 'Special page requests' settings.
  45. Both these options allow users to see all nodes on specific pages on
  46. any active domain.
  47. ----
  48. 4. Anonymous and Authenticated Users
  49. Under Domain Strict, only authenticated users (those who have registered)
  50. are given any domain-specific privileges.
  51. Anonymous users will only be able to view content that is assigned to "all
  52. affiliates."
  53. As a result, enabling this module may cause content to disappear from your
  54. site for users who are not logged in. This is by design.