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

Add authenticated route to get consent preferences #1402

Merged
merged 7 commits into from
Sep 28, 2022

Conversation

sanders41
Copy link
Contributor

@sanders41 sanders41 commented Sep 28, 2022

Purpose

Adds an authenticated route to get a user's consent preferences.

Changes

  • Added an get_consent_preferences route.

Checklist

  • Update CHANGELOG.md file
    • Merge in main so the most recent CHANGELOG.md file is being appended to
    • Add description within the Unreleased section in an appropriate category. Add a new category from the list at the top of the file if the needed one isn't already there.
    • Add a link to this PR at the end of the description with the PR number as the text. example: #1
  • 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 #1225

Copy link
Contributor

@pattisdr pattisdr left a comment

Choose a reason for hiding this comment

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

Just a few requested changes along the same lines as the previous PR, I think this should be quick.

Copy link
Contributor

@pattisdr pattisdr left a comment

Choose a reason for hiding this comment

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

Great @sanders41

I'd add a followup ticket that adds these endpoints to the guides but this work by itself is ready to go

@pattisdr pattisdr merged commit 23cdaa5 into main Sep 28, 2022
@pattisdr pattisdr deleted the ps-consent-preferences-access branch September 28, 2022 17:52
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.

API to access Consent preferences for an identity
2 participants