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:
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.
Project information
- Module categories: Access Control, Multilingual
- 834 sites report using this module
- Created by rodrigoeg on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Drupal 10 support and some bug fixes/new features
Development version: 2.x-dev updated 6 Sep 2023 at 00:32 UTC
Code standards and bug fixes
Development version: 7.x-1.x-dev updated 12 Dec 2016 at 18:38 UTC