Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep uploads private until content containing them is published #162

Open
4 tasks
rmccue opened this issue Aug 19, 2021 · 1 comment
Open
4 tasks

Keep uploads private until content containing them is published #162

rmccue opened this issue Aug 19, 2021 · 1 comment

Comments

@rmccue
Copy link
Member

rmccue commented Aug 19, 2021

We have the backend ability to set uploads as private in S3 Uploads, but we have not hooked this up to any default behaviour in Altis. We have built this previously, so may have code we can reuse here.

Our core use case is ensuring that media does not go live before content does, which is important for users who have embargos or may be publishing things like financial results.

For example, as a content author for a banking institution, when I am writing a post about our financial year's results, the images and PDFs from the content should not be accessible to unauthorised users until the post is published.

Another example: as a content author for a gaming website, when I am writing a post about a new game with an embargo, the images embedded in the content should not be accessible to unauthorised users until the post is published.

For the global media library, we are leaving this out of scope; i.e. all global media is public. (We may choose to revisit this in the future.)

(We will reach out internally to capture any additional use cases we may have missed, but may scope those into new tickets.)

Acceptance criteria:

  • As an author on a site, when I upload an image to a draft post, I should not be able to see the image without having access to view the post.
  • As an author on a site, when I publish a post, I should be able to view all images in the post without needing to log in
  • As an author on a site, when I select an image from the global media library,
  • When I view an image in the media library, I should be able to see whether it is public or private
@johnbillion
Copy link
Member

Is this on the roadmap?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants