WordPress.org

Make WordPress Core

Opened 5 years ago

Last modified 5 years ago

#16184 closed defect (bug)

Deleting delete_users capability will hide Plugin Section — at Version 1

Reported by: Stefan M. Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.0.4
Component: Administration Keywords:
Focuses: Cc:

Description (last modified by scribu)

If the capability delete_users will be removed from a role, also the Plugin Section will be hided in the admin navigation.

I have made 4 printscreen which documents its very good.

I use the plugin "members" to change the roles.
1 printscreen the setting of the user. no role and user administration is allowed, rest everything.

printscreen 2 shows the hidden plugin section.
printscreen 3 shows the manual access to plugins.php
printscreen 4 shows the code passage which is affecting that problem.

Change History (5)

@Stefan M.5 years ago

Role Setting of the User

@Stefan M.5 years ago

Plugin Section in the admin navigation not visible

@Stefan M.5 years ago

Possible to open manually the plugin sections = rights are there

@Stefan M.5 years ago

The responsible line of code which hides it, but dont know the complete affection of other code parts.

comment:1 @scribu5 years ago

  • Description modified (diff)
  • Summary changed from Deleted Role delete_users will hide Plugin Section to Deleting delete_users capability will hide Plugin Section

delete_users is a capability.

Note: See TracTickets for help on using tickets.