Closed amorsent closed 3 years ago
Per my comments here: https://www.drupal.org/project/d6lts/issues/2966553#comment-14166368
D6 does not have a 'bypass node access' permission, so these lines effectively limit to user 1.
D7 split 'bypass node access' off of 'administer nodes' in #305566 - https://www.drupal.org/node/305566 Commit: https://github.com/drupal/drupal/commit/89b0570d707e7a895a832f877dcdc74b68d26d42
A better fix would be to backport the 'bypass node access' permission, but in lieu of that, we should use the D6 equivalent.
Good catch! Looks good, thanks :-)
Per my comments here: https://www.drupal.org/project/d6lts/issues/2966553#comment-14166368
D6 does not have a 'bypass node access' permission, so these lines effectively limit to user 1.
D7 split 'bypass node access' off of 'administer nodes' in #305566 - https://www.drupal.org/node/305566 Commit: https://github.com/drupal/drupal/commit/89b0570d707e7a895a832f877dcdc74b68d26d42
A better fix would be to backport the 'bypass node access' permission, but in lieu of that, we should use the D6 equivalent.