[buddypress-trac] [BuddyPress Trac] #7936: joinleave_group not working on private Group

buddypress-trac noreply at wordpress.org
Sat Jul 28 02:11:50 UTC 2018

#7936: joinleave_group not working on private Group
 Reporter:  ravipatel     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  3.2.0
Component:  Groups        |     Version:  3.0.0
 Severity:  normal        |  Resolution:
 Keywords:                |

Comment (by boonebgorges):

 In [changeset:"12198" 12198]:
 #!CommitTicketReference repository="" revision="12198"
 Separate action logic from permission logic in bp-legacy joinleave_group
 AJAX callback.

 Prior to [11776], join/leave group button intent was calculated based
 directly on the user's group membership status. After that changeset,
 the intent was calculated based on permission checks, which encompassed
 the membership checks but also some additional information. This caused
 problems when a user - such as a super admin - had *permission* to
 join a group, but was not actually *trying* to join a group (but instead
 had clicked Request Membership).

 See #7936.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7936#comment:11>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list