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

Seed super user permissions #468

Merged
merged 1 commit into from
May 5, 2022
Merged

Conversation

TheAndrewJackson
Copy link
Contributor

Purpose

The current version of the create_superuser.py script doesn't seed the new FidesopsUserPermissions table.

Changes

  • Update create_user_and_client function to seed the FidesopsUserPermissions record.

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 #467

@seanpreston seanpreston merged commit 4e33f61 into main May 5, 2022
@seanpreston seanpreston deleted the 467_create_superuser_permissions branch May 5, 2022 19:47
adamsachs pushed a commit to adamsachs/fidesops_forked_test that referenced this pull request May 17, 2022
sanders41 pushed a commit that referenced this pull request Sep 22, 2022
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.

create super user script doesn't seed user permissions
2 participants