Skip to content

Silenced users posts still show up when accessed directly #374

Closed

Description

@mrvdb

The list of posts is correctly blocked, but individual posts are accessible it seems.

This is a partial screenshot of anonymous access to the url of the post. At the very least, the message is wrong.

20200826_1258

I haven't tested extensively with all silenced accounts. The 'user account URI' itself is properly not giving any content. (list of posts)

Expected behaviour:

  • all users, including anonymous are not able to see any posts of a silenced user
  • optionally, make an exception for the admin user, so the post content can be reviewed

Activity

  1. thebaer commented on Aug 27, 2020

    @thebaer
    Member

    Agreed, on this page we should check the currently authenticated user, and:

    • If not logged in, return 404, just like on the silenced user's blog
    • If logged in as user and user.ID != post.OwnerID, return 404
    • If logged in as user and !user.IsAdmin(), return 404

    Anyone should feel free to claim this task and open a pull request for a fix!

  2. colin-axner commented on Sep 16, 2020

    @colin-axner
    Contributor

    hello! I'd like to try to tackle this issue

  3. added this to the 0.13 milestone on Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions