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

buddypress-trac noreply at wordpress.org
Sat Jul 28 02:25:58 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:"12199" 12199]:
 {{{
 #!CommitTicketReference repository="" revision="12199"
 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).

 Merges [12198] to the 3.0 branch.

 See #7936.
 }}}

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


More information about the buddypress-trac mailing list