You are here

README.txt in Content Language Access 8

Same filename and directory in other branches
  1. 6 README.txt
  2. 7 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.

This module detects the content language based on the settings defined on Config -> Languages -> Detection and selection

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 initial configuration required.

Configuration
------------
Additional settings (for example, to allow content from an expecified list of languages to be accessed from a language detected) can be set on Config -> Content language access

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. This module detects the content language based on the settings defined on Config -> Languages -> Detection and selection
  8. Example
  9. ------------
  10. Domains:
  11. www.example.com (EN_US)
  12. www.example.com.br (PT_BR)
  13. Contents:
  14. node/20 (EN_US)
  15. node/21 (PT_BR)
  16. node/22 (Language Neutral)
  17. Results:
  18. www.example.com/node/20 - response: 200 - OK
  19. www.example.com.br/node/20 - response: 403 - Access Denied
  20. www.example.com/node/21 - response: 403 - Access Denied
  21. www.example.com.br/node/21 - response: 200 - OK
  22. www.example.com/node/22 - response: 200 - OK
  23. www.example.com.br/node/22 - response: 200 - OK
  24. Installation
  25. ------------
  26. Just enable it. No initial configuration required.
  27. Configuration
  28. ------------
  29. Additional settings (for example, to allow content from an expecified list of languages to be accessed from a language detected) can be set on Config -> Content language access
  30. Author
  31. ------
  32. Rodrigo Elizeu Goncalves - https://drupal.org/user/725006