Skip to content

Launchpad MP (501314) - r00ta/openfga-users-to-groups-endpoints#438

Open
r00tabot wants to merge 1 commit intoSpaghettiHub:masterfrom
r00tabot:ae931adf-12cd-4232-9413-8db040e69336
Open

Launchpad MP (501314) - r00ta/openfga-users-to-groups-endpoints#438
r00tabot wants to merge 1 commit intoSpaghettiHub:masterfrom
r00tabot:ae931adf-12cd-4232-9413-8db040e69336

Conversation

@r00tabot
Copy link
Collaborator

@r00tabot r00tabot commented Mar 4, 2026

This is autogenerated by maas.r00ta.com. Enjoy!

Commit message: feat: add v2 and v3 API usergroup membership endpoints

Details:

  • openfga built-in migrations are executed before the alembic migrations, because we added an alembic migration that creates a view on the openfga.tuple table.
  • A new view maasserver_usergroup_members_view has been added. It reads data from the openfga.tuple table and joins it with the auth_user table, so to return the list of users and their groups.
  • V2 endpoints to list, add and remove users to groups
  • V3 endpoints to list, add and remove users to groups
  • Avoid adding system users to groups.

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.

1 participant