mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 19:38:24 +00:00
Followup 3094f32ff5c7dec5be7ff4f01e6a855987f8d778, this fixes an issue with the logic in this commit where we were returning false if any of the conditionals here were false, regardless of the type of `obj`, where we should have only done this if `obj` was a `PostAction`, which lead us to return false in cases where we were checking if the user could edit their own post as anon.