mozilla / nucleus

Modern publishing for mozilla.org
https://wiki.mozilla.org/Websites/Mozilla.org/Publishing
Mozilla Public License 2.0
17 stars 25 forks source link

Support password-protected releasenotes pages #780

Open stevejalim opened 1 year ago

stevejalim commented 1 year ago

In very rare situations, usually related to security- or business-critical or situations we should be able to password-protect the release-notes pages on mozilla.org (DEV and STAGE)

By default, this should be off.

Ideally there would be a field on the Release admin UI to add a password and to enable its use.

When releases reach production, they should not use password protection even if one is still configured

stevejalim commented 1 year ago

@pascalchevrel No rush to reply, but does the description above cover everything we discussed?

pascalchevrel commented 1 year ago

LGTM

stevejalim commented 10 months ago

Notes to self: The data store between Nucleus and Bedrock is public, so any password would need to be encrypted with a shared secret

stevejalim commented 10 months ago

@pascalchevrel Talking about this with the team and balancing the complexity of getting an encrypted password set in Nucleus into Bedrock via release-notes (and with mixed benefits, given the release-notes repo is public anyway), I have a lower-fidelity suggeestion:

We think this would still add enough value, while being significantly simpler to implement. Would it be OK by you/your team?

pascalchevrel commented 10 months ago

basic auth is fine for me (that's what we were doing for release notes on mozilla-europe.org 15 years ago :) )