Skip to content

Forced public only entities to be returned to pro feeds #2446

Summary

Closes #2446 (closed)

When logged in as a pro user, your blog drafts appear to you. This is confusing UX. This fix appends ?force_public=true to the URL so only public posts are returned even if you are the owner of them.

Steps to test

  1. Log in as a pro user.
  2. Make a blog with the title published, publish it.
  3. Make a second blog with the title unpublished, save it as a draft.
  4. Check your channel - you should only see the published blog.
  5. Log out, you should still only see the published blog.

image

Estimated Regression Scope

Not a huge scope for regression with this, perhaps some edge-case could throw an error at the endpoint called if it's not equipped properly to deal with the flag? It seems to work fine by testing though.

Merge request reports

Loading