[buddypress-trac] [BuddyPress Trac] #7476: Deletion of user also deletes any groups that they created - without any Warning!

buddypress-trac noreply at wordpress.org
Mon Nov 5 20:20:06 UTC 2018


#7476: Deletion of user also deletes any groups that they created - without any
Warning!
----------------------------+---------------------------
 Reporter:  shanebp         |       Owner:  boonebgorges
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  4.0
Component:  Administration  |     Version:  1.0
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |
----------------------------+---------------------------
Changes (by boonebgorges):

 * owner:  (none) => boonebgorges
 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"12273" 12273]:
 {{{
 #!CommitTicketReference repository="" revision="12273"
 Groups: Improve treatment of single-member groups on user deletion.

 Instead of deleting single-member groups on user deletion, we simply
 remove the member from the group. Because BuddyPress expects groups to
 have at least one admin member, in these cases we assign a site admin
 to be the sole group admin.

 This changeset also fixes a related bug whereby the group admin/mod
 cache was not properly invalidated on membership deletion.

 Props djpaul.
 Fixes #7476.
 }}}

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


More information about the buddypress-trac mailing list