[buddypress-trac] [BuddyPress Trac] #8747: BuddyPress available tools should only be displayed to Administrators
buddypress-trac
noreply at wordpress.org
Sun Oct 2 15:30:02 UTC 2022
#8747: BuddyPress available tools should only be displayed to Administrators
----------------------------+-----------------------
Reporter: imath | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 11.0.0
Component: Administration | Version: 2.0
Severity: normal | Keywords: has-patch
----------------------------+-----------------------
The Tools admin page is displayed to users having the `edit_posts` cap
which means only the user with no roles or with the subscriber one cannot
access to this page.
Contributors, Authors and Editors can then see the "Available BuddyPress
tools" card that we are displaying into this tools page.
As these roles cannot access to the corresponding BP Tools they get a
`wp_die()` page. The patch attached to this ticket is making sure we're
displaying the BuddyPress tools intro card to Administrators.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8747>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list