data-workspace-frontend
data-workspace-frontend copied to clipboard
Refactor: Only use SQLAlchemy when setting up permissions.
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?