You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the right way to solve this is to filter all shown feed comments by subject.can_read?(user). This involves (1) making sure that all possible subjects implement can_read? and (2) dealing with the fact that if we want to display 100 items, we might need to pull a lot more from the db.
Feed items are not filtered by reading access, so a user could potentially see feed items for a profile that the user should not be able to see.
The text was updated successfully, but these errors were encountered: