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. It is not intended to be used for access control for administrative users.

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

Enable the Multilingual support on Content types:
Content type option
Enabling this option will allow you to select the language when creating a content.

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

Similar modules:
Check some modules that provide some others useful functionalities, similar to Content Language Access module:

  • Translation access: This module provides per-language access control for creating and updating nodes by adding a list of checkboxes for each available language to the user add/edit form
  • Language access: Restrict user access to locale languages using permission. Useful for sites where multilingual content has not been fully prepared yet.
Supporting organizations: 

Project information

Releases