Skip to content

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

Closed
r00tabot wants to merge 1 commit intoSpaghettiHub:masterfrom
r00tabot:20485d61-a8b2-4544-a3dc-7ccec0d01f41
Closed

Launchpad MP (501314) - r00ta/openfga-users-to-groups-endpoints#435
r00tabot wants to merge 1 commit intoSpaghettiHub:masterfrom
r00tabot:20485d61-a8b2-4544-a3dc-7ccec0d01f41

Conversation

@r00tabot
Copy link
Collaborator

@r00tabot r00tabot commented Mar 3, 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.

@r00ta r00ta closed this Mar 4, 2026
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