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.
When using Content Access module together with ACL module and enabling per node content access, there is an error in admin interface which displays 3 categories of giving access to specific users.
It should be:
Grant View access
Grant Edit access
Grant Delete access
but due to an error in the code, it says for every row "Grant !op access".
There is an error in ContentAccessPageForm.php on line 76 where t() is written with a single quotation mark, and therefore the $op variable can't be used. This is an easy fix with adding double quotation marks and adding in the missing variable.
Comment | File | Size | Author |
---|---|---|---|
#2 | admin_interface-2882691-2.patch | 882 bytes | anarthul |
bug.png | 92.13 KB | anarthul |
Comments
Comment #2
anarthul CreditAttribution: anarthul as a volunteer and commentedhere's the patch
Comment #3
anarthul CreditAttribution: anarthul as a volunteer and commentedComment #4
anarthul CreditAttribution: anarthul as a volunteer and commentedComment #5
sunja CreditAttribution: sunja as a volunteer commentedThis is a duplicate of issue https://www.drupal.org/node/2753213 and does not fully fix the problem. The linked issue is the full fix.
Comment #6
apaderno