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.
A change in the language for access control to use 'administer site configuration' instead of the old 'access configuration pages' caused the folowing menu errors:
bad permissions for
admin/content/rss-feed
admin/user
admin/content
The fix is to patch system.module, node.module, and user.module.
Following a recent deve list discussion, I will attach a single patch and then 3 patches for the individual modules.
Comment | File | Size | Author |
---|---|---|---|
#3 | user_perms.patch | 695 bytes | agentrickard |
#2 | system_perms.patch | 1.56 KB | agentrickard |
#1 | node_perms.patch | 520 bytes | agentrickard |
admin_perms.patch | 2.77 KB | agentrickard | |
Comments
Comment #1
agentrickardApplies a one-line change to node_menu.
Comment #2
agentrickardApplies a one-line change to system.module and moves the rss menu item into its own section of the code, separating it from the "// Settings" grouping.
Comment #3
agentrickardApplies a one-line patch to user.module
Comment #4
Dries CreditAttribution: Dries commentedPlease merge the patches.
Comment #5
agentrickardThe first attachment is the merged version.
http://drupal.org/files/issues/admin_perms.patch
:-) (I like to develop habits, so i split these up, even though it wasn't really worth it.)
Comment #6
agentrickardComment #7
asimmonds CreditAttribution: asimmonds commentedShould the permissions here for /admin/content and /admin/user, actually be 'access administration pages' instead of 'administer site configuration'. From what I can see 'administer site configuration' is just /admin/settings and /admin/build.
The menu path /admin has the 'access administration pages' permission set in system.module.
Comment #8
Kjartan CreditAttribution: Kjartan commentedThis seems to be fixed already as I can't find any references to "access configuration pages" in HEAD.
Comment #9
(not verified) CreditAttribution: commented