Changes between Initial Version and Version 1 of Ticket #7048, comment 27
- Timestamp:
- 01/10/2018 05:34:14 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7048, comment 27
initial v1 2 2 3 3 If 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.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's activities. 5 5 6 6 I presume that's the correct approach. Hence, I updated above with your suggestion. The comment above is just so that you are aware. :)