[buddypress-trac] [BuddyPress Trac] #6657: Insufficient permission on pending user pages when BP_ENABLE_MULTIBLOG is true

buddypress-trac noreply at wordpress.org
Mon Oct 12 21:24:40 UTC 2015


#6657: Insufficient permission on pending user pages when BP_ENABLE_MULTIBLOG is
true
---------------------------------+-----------------------------
 Reporter:  sbrajesh             |      Owner:
     Type:  defect (bug)         |     Status:  new
 Priority:  normal               |  Milestone:  Awaiting Review
Component:  Component - Members  |    Version:
 Severity:  normal               |   Keywords:  has-patch
---------------------------------+-----------------------------
 When BP_ENABLE_MULTIBLOG is true, BuddyPress adds the "pending" etc links
 on a sub site's Manage Users screen but clicking on those links lead to
 "You do not have sufficient permission to access this page".


 Ho To Reproduce:-
 1. Network Activate BuddyPress
 2. Put define( 'BP_ENABLE_MULTIBLOG', true ); in bp-custom.php
 3. Create a sub site
 4. Visit sub site's Dashboard->Users->All Users, you will see the
 "Pending" link above the user list
 5. Click on that and you will get the error.

 The issue is in bp-members/bp-members-admin.php line 417(current trunk)
 does not check for the BP_ENABLE_MULTIBLOG and skips adding user page if
 it is a multisite install and we are not on network admin.

 For a Multiblog mode enabled network, the user management capabilities
 should be available on the sub sites as well. So, the links are correctly
 added. Only the issue is with user pages handling those links are not
 added.


 The attached patch fixes it. Will appreciate if you can take a look at
 this.

 Thank you

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6657>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list