[buddypress-trac] [BuddyPress Trac] #5869: Users with 'bp_moderate' capability required to also have 'manage_options' capability

buddypress-trac noreply at wordpress.org
Tue Sep 9 18:25:22 UTC 2014


#5869: Users with 'bp_moderate' capability required to also have 'manage_options'
capability
--------------------------+------------------
 Reporter:  ryanjhale     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.2
Component:  Core          |     Version:  1.6
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------
Changes (by r-a-y):

 * keywords:  dev-feedback => has-patch


Comment:

 `01.patch` is a quick fix.  It grabs the user's capabilities and does an
 explicit check for the `'bp_moderate'` cap.  If the user does not have
 this cap, we disallow the cap.

 Did some quick testing and this works.  Only thing is the WP Toolbar
 appears to be missing the "Edit Member" menu item when on a BP user page,
 but should be easy to fix.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5869#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list