You are here

README.txt in Content Language Access 7

Same filename and directory in other branches
  1. 8 README.txt
  2. 6 README.txt
Content Language Access Module restricts the access of only contents with
language (except neutral language) that are equal of the actual Drupal
language being accessed or others that were previous configured in the admin
page.

This module helps when you have a content that needs to have access restriction
by Drupal language.

Example
------------
  Domains:
    www.example.com (EN_US)
    www.example.com.br (PT_BR)

  Contents:
    node/20 (EN_US)
    node/21 (PT_BR)
    node/22 (Language Neutral)

  Results:
    www.example.com/node/20 - response: 200 - OK
    www.example.com.br/node/20 - response: 403 - Access Denied

    www.example.com/node/21 - response: 403 - Access Denied
    www.example.com.br/node/21 - response: 200 - OK

    www.example.com/node/22 - response: 200 - OK
    www.example.com.br/node/22 - response: 200 - OK


Installation
------------
Just enable it. No configuration required.


Running multiple node access modules
-----------------------------------------------------------
This module rewrites the access callback of node/%nid URL, but if you already
have another module doing it, just let Content Language Access Module with a
higher weight in the system table on database and the other module will still
working.


Author
------
Rodrigo Elizeu Goncalves - https://drupal.org/user/725006

File

README.txt
View source
  1. Content Language Access Module restricts the access of only contents with
  2. language (except neutral language) that are equal of the actual Drupal
  3. language being accessed or others that were previous configured in the admin
  4. page.
  5. This module helps when you have a content that needs to have access restriction
  6. by Drupal language.
  7. Example
  8. ------------
  9. Domains:
  10. www.example.com (EN_US)
  11. www.example.com.br (PT_BR)
  12. Contents:
  13. node/20 (EN_US)
  14. node/21 (PT_BR)
  15. node/22 (Language Neutral)
  16. Results:
  17. www.example.com/node/20 - response: 200 - OK
  18. www.example.com.br/node/20 - response: 403 - Access Denied
  19. www.example.com/node/21 - response: 403 - Access Denied
  20. www.example.com.br/node/21 - response: 200 - OK
  21. www.example.com/node/22 - response: 200 - OK
  22. www.example.com.br/node/22 - response: 200 - OK
  23. Installation
  24. ------------
  25. Just enable it. No configuration required.
  26. Running multiple node access modules
  27. -----------------------------------------------------------
  28. This module rewrites the access callback of node/%nid URL, but if you already
  29. have another module doing it, just let Content Language Access Module with a
  30. higher weight in the system table on database and the other module will still
  31. working.
  32. Author
  33. ------
  34. Rodrigo Elizeu Goncalves - https://drupal.org/user/725006