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

Support any _permitted_ person to preview content in the CMS before go-live #15181

Closed
Tracked by #14225
stevejalim opened this issue Sep 19, 2024 · 3 comments · Fixed by #15232
Closed
Tracked by #14225

Support any _permitted_ person to preview content in the CMS before go-live #15181

stevejalim opened this issue Sep 19, 2024 · 3 comments · Fixed by #15232
Assignees
Labels
WIP 🚧 Pull request is still work in progress

Comments

@stevejalim
Copy link
Collaborator

stevejalim commented Sep 19, 2024

With the change to a CMS-backed approach to some parts of Bedrock, we're facing a change in our workflow around content that is embargoed but still needs stakeholder approval before we can make it public.

Previously, we used to use a private demo server to preview hard-coded content from on a private/internal-only fork of bedrock for the smallest amout of time possible.

Now, we now have a possibility of content existing only in pre-published ("draft") form in the production CMS, but needing review from stakeholders before we make it available on production. Making that pre-publishing (and potentially incomplete/not-ready-for-public-consumption) content available on a demo server is not straightfoward, and would add a lot of complexity.

Equally, we are reluctant to spin up a large number of User accounts in our prod CMS for the various stakeholders who want to see a draft page, nor are they likely to want to tackle signing in and navigating a CMS when the purpose is to review the content.

So, we need a different approach. An ideal is to support previews of draft pages without authentication, but in a way that is sufficiently private/secure. Some kind of token-based sharing URL for draft content could be the solution here, particularly if the URLs or tokens can be invalidated after time or use.

@stevejalim stevejalim self-assigned this Sep 19, 2024
@stevejalim stevejalim changed the title Support previewing content before go-live (either drafts or password-protected pages) Support any _permitted_ person to preview content in the CMS before go-live Sep 19, 2024
@stevejalim stevejalim added the WIP 🚧 Pull request is still work in progress label Sep 19, 2024
@stevejalim
Copy link
Collaborator Author

Two projects suggested by @gasman that might fit the bill are

so I'll start there

@janbrasna
Copy link
Contributor

janbrasna commented Sep 19, 2024

Few more use cases are also mentioned in the analogous #14803

@stevejalim
Copy link
Collaborator Author

https://github.com/torchbox/wagtaildraftsharing is also worth a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP 🚧 Pull request is still work in progress
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants