Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
If there are content types that do not have translation enabled and have "undefined" as their default language, users cannot update nodes even if they are given all the permissions the module provides.
Proposed resolution
Either add a permission to allow users to edit nodes with an undefined language (e.g. "edit node translation access und") or modify the node_translation_access_node_access() hook to allow nodes with an undefined language to pass the check in the "update" operation.
A possible workaround would be to make sure that all nodes have a language that is not "undefined".
Comment | File | Size | Author |
---|---|---|---|
#2 | node_translation_access-new-permission-2779811-1.patch | 929 bytes | jamesgrobertson |
Comments
Comment #2
jamesgrobertson CreditAttribution: jamesgrobertson commentedPatch for first approach (adding a new permission). Patch for second approach coming soon.
Comment #4
adci_contributor CreditAttribution: adci_contributor at ADCI Solutions commentedThank you, the issue was fixed.