[buddypress-trac] [BuddyPress Trac] #7610: Use bp_user_can for some group-related permissions.

buddypress-trac noreply at wordpress.org
Wed Apr 11 17:56:14 UTC 2018


#7610: Use bp_user_can for some group-related permissions.
------------------------------+-----------------------
 Reporter:  dcavins           |       Owner:  dcavins
     Type:  enhancement       |      Status:  reopened
 Priority:  normal            |   Milestone:  3.0
Component:  Groups            |     Version:  2.9.0
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+-----------------------

Comment (by dcavins):

 Thanks, @r-a-y. I took another spin through the original patch (finding a
 logic inversion from the original) and fixed up two more cases where site
 admins should clear additional hurdles before being allowed to do
 something. These three capabilities have been updated (including your
 earlier work):
 `groups_receive_invitation`, `groups_request_membership` and
 `groups_join_group`

 Thanks for finding this issue and also for writing new tests. (It's so
 great to have tests covering these capabilities.)

 If no one has any further comments, let's get these changes committed. :)

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


More information about the buddypress-trac mailing list