Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #7048, comment 27


Ignore:
Timestamp:
01/10/2018 05:34:14 PM (2 years ago)
Author:
espellcaste
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7048, comment 27

    initial v1  
    22
    33If you remove `if ( ! groups_is_user_member( $user_id, $group_id ) ) {`.
    4 And run PHPUnit `test_non_member_cannot_access_to_someone_elses_activity_in_a_group` will give you an error. Suggesting a user outside of a public group can see other people activity.
     4And run PHPUnit `test_non_member_cannot_access_to_someone_elses_activity_in_a_group` will give you an error. Suggesting a user outside of a public group can see other people's activities.
    55
    66I presume that's the correct approach. Hence, I updated above with your suggestion. The comment above is just so that you are aware. :)