Skip to content

AAI-98 database setup for the user group design#40

Merged
marius-mather merged 72 commits into
mainfrom
biocommons-groups
Jul 29, 2025
Merged

AAI-98 database setup for the user group design#40
marius-mather merged 72 commits into
mainfrom
biocommons-groups

Conversation

@marius-mather

@marius-mather marius-mather commented Jul 16, 2025

Copy link
Copy Markdown
Collaborator

Description

AAI-98: Implementing the database schema described in https://docs.google.com/document/d/11DdVd76rO6xo3jDoI0xQiO_hAVVipowDAfcUOpOt03c/edit?tab=t.0#heading=h.yiv7256z72hs

Changes

  • New database models for BiocommonsGroup, Auth0Role etc.
  • Needed to change base model for database models - need to set some configuration to make alembic automatic migrations work more smoothly
  • Reset DB migrations due to base model change
  • Functions for creating roles and groups
  • Auth0Client methods for looking up the required info from the Auth0 API

Checklist

  • I have commented my code, particularly in hard-to-understand areas
  • I have added unit / integration tests that prove my fix is effective or that my feature works
  • I have run all tests locally and they pass
  • I have updated the documentation (if applicable)

How to Test Manually (if necessary)

Run uv run pytest

Comment thread auth0/client.py Outdated
Comment thread auth0/client.py
Comment thread auth0/client.py Outdated
Comment thread tests/conftest.py Outdated
Comment thread auth0/client.py
Comment thread auth0/client.py
Comment thread .github/workflows/build-ecr.yml

@amandazhuyilan amandazhuyilan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sorry just one more thing - missing the Github secret action in https://github.com/AustralianBioCommons/aai-backend/settings/secrets/actions

@marius-mather marius-mather merged commit 8109cea into main Jul 29, 2025
2 checks passed
@amandazhuyilan amandazhuyilan deleted the biocommons-groups branch June 19, 2026 03:21
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