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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

anarthul created an issue. See original summary.

anarthul’s picture

anarthul’s picture

Status: Active » Needs review
anarthul’s picture

Issue summary: View changes
sunja’s picture

Status: Needs review » Closed (duplicate)
Related issues: +#2753213: Invalid placeholder in translate function

This 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.

apaderno’s picture

Assigned: anarthul » Unassigned