[buddypress-trac] [BuddyPress] #5177: Add filter to permit access to group edition and deletion to other than super_admin

buddypress-trac noreply at wordpress.org
Wed Sep 18 00:11:47 UTC 2013


#5177: Add filter to permit access to group edition and deletion to other than
super_admin
--------------------------+---------------------------
 Reporter:  asakurayoh    |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  1.9
Component:  Groups        |     Version:  1.8.1
 Severity:  minor         |  Resolution:  fixed
 Keywords:                |
--------------------------+---------------------------
Changes (by boonebgorges):

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


Comment:

 In [changeset:"7387"]:
 {{{
 #!CommitTicketReference repository="" revision="7387"
 Don't use is_super_admin() to die out of group/activity admin pages

 Use current_user_can( 'bp_moderate' ) instead.

 This gives more flexibility in customizing who can access.

 Fixes #5177

 Props asakurayoh for the initial patch
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5177#comment:3>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list