Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

397 denial reason for dsr #463

Merged
merged 9 commits into from
May 6, 2022
Merged

Conversation

TheAndrewJackson
Copy link
Contributor

@TheAndrewJackson TheAndrewJackson commented May 4, 2022

Purpose

Add the ability to attach a denial reason to denied privacy requests

Changes

  • Add AuditLog table
  • Create new audit logs whenever a request is denied
  • Include denial reasons in the csv download

Checklist

  • Applicable documentation updated (guides, quickstart, postman collections, tutorial, fidesdemo, database diagram.
  • If docs updated (select one):
    • documentation complete, or draft/outline provided (tag docs-team to complete/review on this branch)
    • documentation issue created (tag docs-team to complete issue separately)
  • Good unit test/integration test coverage
  • This PR contains a DB migration. If checked, the reviewer should confirm with the author that the down_revision correctly references the previous migration before merging
  • The Run Unsafe PR Checks label has been applied, and checks have passed, if this PR touches any external services

Ticket

Fixes #397

@TheAndrewJackson TheAndrewJackson marked this pull request as ready for review May 5, 2022 14:14
@eastandwestwind eastandwestwind self-assigned this May 5, 2022
@TheAndrewJackson TheAndrewJackson requested a review from a team May 5, 2022 15:11
Copy link
Contributor

@eastandwestwind eastandwestwind left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work @TheAndrewJackson ! Your code is super easy to read, and I got to learn some new things about SQLAlchemy cascades.

Just a couple Qs / comments.

Copy link
Contributor

@eastandwestwind eastandwestwind left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks!

@eastandwestwind eastandwestwind merged commit ea94b59 into main May 6, 2022
@eastandwestwind eastandwestwind deleted the 397_denial_reason_for_dsr branch May 6, 2022 19:13
adamsachs pushed a commit to adamsachs/fidesops_forked_test that referenced this pull request May 17, 2022
* Add audit log for denial reasons

* Add audit log tests

* Update migration down revision

* Fix black formatting

* Update documentation

* Add PR feedback

* clarify denial reason docs

Co-authored-by: Cole Isaac <[email protected]>
sanders41 pushed a commit that referenced this pull request Sep 22, 2022
* Add audit log for denial reasons

* Add audit log tests

* Update migration down revision

* Fix black formatting

* Update documentation

* Add PR feedback

* clarify denial reason docs

Co-authored-by: Cole Isaac <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Admin UI] BE - Subject Request Denial Reason
5 participants