Skip to content

Launchpad MP (500665) - r00ta/openfga-permission-layer#424

Open
r00tabot wants to merge 1 commit intoSpaghettiHub:masterfrom
r00tabot:7fcbf752-876c-4eb9-8d95-e79ad66bf0a5
Open

Launchpad MP (500665) - r00ta/openfga-permission-layer#424
r00tabot wants to merge 1 commit intoSpaghettiHub:masterfrom
r00tabot:7fcbf752-876c-4eb9-8d95-e79ad66bf0a5

Conversation

@r00tabot
Copy link
Collaborator

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

Commit message: feat: replace built-in permission layer with openfga.
Details:

  • introduce a sync/async client to interact with openfga
  • introduce a context cache in maasserver: when a new websocket/http request is processed, all the calls to openfga are cached so to avoid hammering the server.
  • migrate existing users to the pre-defined groups users/administrators.
  • grant a set of default permissions to users/administrators groups so to guarantee backwards compatibility.
  • Introduce a new check_permission decorator so to simplify the permission checks on openfga
  • minor changes to the openfga model, so to have feature parity with RBAC.

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