fides icon indicating copy to clipboard operation
fides copied to clipboard

Add privacy notice display validation to frontend

Open allisonking opened this issue 1 year ago • 2 comments

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, either displayed_in_overlay or displayed_in_privacy_center must be True right now.

  • add validation that either displayed_in_overlay or displayed_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

allisonking avatar May 02 '23 15:05 allisonking