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

buddypress-trac noreply at wordpress.org
Thu Dec 14 13:24:02 UTC 2017

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

 * owner:   => dcavins
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"11776"]:
 #!CommitTicketReference repository="" revision="11776"
 Use bp_user_can for group-related permissions.

 Centralize and de-duplicate permissions checks for group-related
 functions, like checking whether a user can join a group or send
 invitations from a group.

 Props dcavins, djpaul.

 Fixes #7610.

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

More information about the buddypress-trac mailing list