[buddypress-trac] [BuddyPress] #5207: Viewing a spammed user's page if not a moderator adds a trailing 'members' slug to URL

buddypress-trac noreply at wordpress.org
Tue Oct 22 20:56:04 UTC 2013


#5207: Viewing a spammed user's page if not a moderator adds a trailing 'members'
slug to URL
--------------------------+---------------------
 Reporter:  r-a-y         |       Owner:  r-a-y
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  1.9
Component:  Members       |     Version:  1.6
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by r-a-y):

 * owner:   => r-a-y
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"7456"]:
 {{{
 #!CommitTicketReference repository="" revision="7456"
 Fix trailing 'members' slug when non-admins view a spammer's profile.

 If we're on a spammer's profile page, only users with the 'bp_moderate'
 cap can view subpages on the spammer's profile.

 Users without the cap trying to access a spammer's subnav page should be
 redirected to the root of the spammer's profile page.

 This commit does this by removing the component in the canonical stack
 when a user without the 'bp_moderate' cap is on a spammer's profile page.

 Fixes #5207.
 }}}

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


More information about the buddypress-trac mailing list