[buddypress-trac] [BuddyPress Trac] #5348: Inconsistency between front end and back end: Group Delete

buddypress-trac noreply at wordpress.org
Mon Jan 20 22:09:36 UTC 2014


#5348: Inconsistency between front end and back end: Group Delete
-------------------------------------------------+-------------------------
 Reporter:  glyndavidson                         |       Owner:
     Type:  task                                 |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Groups                               |  Review
 Severity:  normal                               |     Version:  1.9.1
 Keywords:  has-patch needs-testing reporter-    |  Resolution:
  feedback                                       |
-------------------------------------------------+-------------------------
Changes (by boonebgorges):

 * keywords:   => has-patch needs-testing reporter-feedback


Comment:

 Yes, I think that the `is_super_admin()` check is incorrect. Your
 suggestion is almost right - I think it ought to be

 `if ( ! current_user_can_for_blog( bp_get_root_blog_id(), 'bp_moderate' )
 )`

 (because there may be multisite configs where the current blog ID is not
 the same as the BP blog)

 If you could test this, and also share more info about your setup (what do
 you mean by "segregated groups"?), we could verify this fix. Thanks!

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


More information about the buddypress-trac mailing list