Fetch sensitive feature flag stays active even if sensitive content feature flag is disabled #2994
Labels
🕹 aspect: interface
Concerns end-users' experience with the software
🛠 goal: fix
Bug fix
🟨 priority: medium
Not blocking but should be addressed soon
🧱 stack: frontend
Related to the Nuxt frontend
Milestone
Description
If the sensitive content feature flag is toggled off, the fetch sensitive feature flag stays on, but without the UI being present to toggle it back off. This means the browser gets stuck in a mode where it always fetches sensitive content without any way of turning it off.
Found while testing #2955
@dhruvkb I'm not sure whether this is a blocker. I think it would be because it would prevent us from fully rolling back the sensitive content feature, even if we turn the sensitive content feature flag off, the session's flag to make requests for sensitive content would be stuck on. This would be bad if we discovered we needed to roll the feature back because of some critical issue (however unlikely that seems at the moment).
Reproduction
To emulate the rollback scenario, test it locally by running the dev server and then:
feature-flags.json
to setsensitive_content
todisabled
at the staging level. This will also disable it locally.main
and Separate features into persistent and session scoped cookies #2955, so it isn't an issue with that PR, but the PR also won't fix this.@dhruvkb Is the best way to fix this by making checks against
fetch_sensitive
also check the general feature flag? Basically makingfetch_sensitive
dependent onsensitive_content
also being true? Also, do you agree with my assessment of this being an issue due to rollbacks? Even if we don't block on it, I think we could fix this before #2550 is unblocked anyway (:confused:).The text was updated successfully, but these errors were encountered: