Closed (fixed)
Project:
Drupal core
Version:
x.y.z
Component:
menu system
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
1 Sep 2006 at 17:08 UTC
Updated:
6 Nov 2006 at 20:16 UTC
Jump to comment: Most recent file
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 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 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 commentedThis seems to be fixed already as I can't find any references to "access configuration pages" in HEAD.
Comment #9
(not verified) commented