[buddypress-trac] [BuddyPress Trac] #7048: Move permission checks in `bp_activity_screen_single_activity_permalink` into new function
buddypress-trac
noreply at wordpress.org
Sun Mar 4 21:13:25 UTC 2018
#7048: Move permission checks in `bp_activity_screen_single_activity_permalink`
into new function
--------------------------------------+---------------------
Reporter: DJPaul | Owner: djpaul
Type: enhancement | Status: closed
Priority: high | Milestone: 3.0
Component: Activity | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests |
--------------------------------------+---------------------
Comment (by r-a-y):
In [changeset:"11881"]:
{{{
#!CommitTicketReference repository="" revision="11881"
Activity: After r11806, fix read access checks to private activity items.
Previously, after r11806, anyone could access private activity items.
The problem is passing the displayed user ID instead of the current user
ID in `bp_activity_user_can_read()`.
Commit also fixes an issue with the login URL redirect for logged-out
users.
Fixes #7048.
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7048#comment:32>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list