[buddypress-trac] [BuddyPress Trac] #7608: Use BP_Groups_Group visibility and access properties.

buddypress-trac noreply at wordpress.org
Mon Mar 5 21:14:48 UTC 2018


#7608: Use BP_Groups_Group visibility and access properties.
-------------------------+-----------------------
 Reporter:  dcavins      |       Owner:  djpaul
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  3.0
Component:  Groups       |     Version:  2.9.0
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+-----------------------
Changes (by r-a-y):

 * keywords:  has-patch commit => has-patch
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Reopening because the changes to `bp_group_is_visible()` allows
 unauthenticated users to view a private group's homepage:
 https://buddypress.trac.wordpress.org/browser/trunk/src/bp-templates/bp-
 legacy/buddypress/groups/single/home.php?marks=78#L75

 @dcavins - Although it makes sense to use the `'is_visible'` property in
 the `bp_group_is_visible()` function, we should probably revert this for
 backward compatibility issues.

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


More information about the buddypress-trac mailing list