Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: Only use SQLAlchemy when setting up permissions. #3289

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Mohizurkhan
Copy link
Contributor

@Mohizurkhan Mohizurkhan commented Aug 28, 2024

Description of change

Tidy up the code to have one consistent way of setting up a database user. Also a small stepping stone to setting more timeouts and incorporating more functionality in pg-sync-roles. which is SQLAlchemy based.

This also increases the isolation between setting up users(which we use SQLAlchemy) and running queries(which we use Django).

Checklist

  • Have tests been added to cover any changes?
  • Have E2E tests been added to cover any React changes?
  • Have Accessibility tests been added to cover any React changes?

Tidy up the code to have one consistent way of setting up a database user. Also
a small stepping stone to setting more timeouts and incorpirating more
functionality in pg-sync-roles. which is sqlalchemy based.

Co-authored-by: Mohizur Khan <mohizur.khan@digital.trade.gov.uk>
Co-authored-by: Michal Charemza <michal@charemza.name>
@michalc michalc force-pushed the refactor/only-use-sql-alchemy-when-setting-up-permissions branch from c37eab6 to 29a771f Compare August 28, 2024 15:33
@michalc michalc requested a review from a team August 28, 2024 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants