fides
fides copied to clipboard
Add privacy notice display validation to frontend
If you're creating a PrivacyNotice with
opt_in
consent mechanism,displayed_in_overlay
must be True.displayed_in_privacy_center
can be True or False, nothing to check here.
-
displayed_in_overlay
should be toggled ON and disabled so that it can't be changed - all other toggles can be toggle-able
If you're creating a PrivacyNotice with
opt_out
consent mechanism, eitherdisplayed_in_overlay
ordisplayed_in_privacy_center
must be True right now.
- add validation that either
displayed_in_overlay
ordisplayed_in_privacy_center
is checked
If you're creating a privacy notice with
notice_only
consent mechanism,displayed_in_overlay
must be True.
-
displayed_in_overlay
should be toggled ON and disabled so that it can't be changed - all other toggles can be toggle-able
See https://github.com/ethyca/fides/issues/3153 for original context