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.
The module "Administration menu" (2011-Oct-16) ignores in Drupal 7 the "administer software updates" permission as shown on http://drupal.org/upgrade/running-update-php in the lines before the header "II. Run update.php"
Only the user with UID equal 1 has then menu item "Run Updates".
Comment | File | Size | Author |
---|---|---|---|
#3 | admin_menu.update-php-perm.3.patch | 624 bytes | sun |
Comments
Comment #1
wusel CreditAttribution: wusel commentedI am not a PHP-coder.
How can we chance this?
Please help! Thank you very much!
Comment #2
wusel CreditAttribution: wusel commentedThe lines in the link http://drupal.org/upgrade/running-update-php from December 5, 2011 (the date of this issue):
Note: To run update.php in Drupal 7, you need to log in with an account that has the "administer software updates" permission enabled.
Comment #3
sunThanks for reporting, reviewing, and testing! Committed attached patch.
A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.
Comment #4
wusel CreditAttribution: wusel commentedThank you very much.
This is very nice.
Comment #5
wusel CreditAttribution: wusel commentedYou can also show the UID=1-color at the username by adding/changing
in the file admin_menu.module at line 157.
Comment #6
wusel CreditAttribution: wusel commentedAdministration menu 7.x-3.0-rc1+55-dev (2012-Mar-09)
Comment #7
sunThe bug mentioned in this issue has been fixed.
Changing the color is a different issue, so you may create one for that. However, be prepared for won't fix, since the red color is explicitly supposed to signify and warn about being logged in as uid 1 only.
Comment #8
wusel CreditAttribution: wusel commentedOk, I said can.
Thanks for this great module. I hope, it goes into core of D8.
Comment #9.0
(not verified) CreditAttribution: commentedI add the line of the D7-dokumentation