[wp-trac] [WordPress Trac] #31183: Users with "update_plugins" capability can not see update details
WordPress Trac
noreply at wordpress.org
Sun Feb 15 21:08:02 UTC 2015
#31183: Users with "update_plugins" capability can not see update details
---------------------------------+-----------------------------
Reporter: michel.weimerskirch | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.2
Component: Plugins | Version: 4.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses: administration
---------------------------------+-----------------------------
Comment (by michel.weimerskirch):
I tried again. I still get the access denied error:
Capabilities: http://picpaste.com/capabilities-AO0lxpOy.png
Update page with changelog: http://picpaste.com/update-page-hV2boiJW.png
The problem seems to be that in menu.php, "plugins.php" requires the
"activate_plugins" option: {{{$submenu['plugins.php'][5] = array(
__('Installed Plugins'), 'activate_plugins', 'plugins.php' );}}} and
plugin-install.php (which contains the update information) is a subpage of
plugins.php:
{{{$submenu['plugins.php'][10] = array( _x('Add New', 'plugin'),
'update_plugins', 'plugin-install.php' );}}}
Because of that, plugin-install.php also requires the "activate_plugins"
capability.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31183#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list