Skip to content

Pinned scheduled posts are visible to all users before publish date #158

@thebaer

Description

@thebaer

Describe the bug

Pinning a future-dated post will make it show for all users, when it should only show for the author of the blog.

Steps to reproduce (if necessary)

Steps to reproduce the behavior:

  1. Publish a post
  2. Change publish date to the future
  3. Pin the post
  4. View the blog in another browser
  5. Notice the post is pinned to the navigation, and clicking it shows the full post (with "Scheduled" badge)

Expected behavior

The post shouldn't show up in blog navigation menu until the published date has passed.

Application configuration

  • Single mode or Multi-user mode? either
  • Database? either
  • Open registration? either
  • Federation enabled? N/A

Version or last commit: v0.10.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions