Auth Module Design: Role-Based Authorization with Dynamic users in ACL via External AuthZ #3243
sandeepkunusoth
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I am seeking feedback on an Auth module we have implemented.
We are implementing group/role-based authorization for users and mapping them to Valkey ACL permissions based on resolved roles.
Authorization decisions are made from an external policy engine such as OpenFGA (or other sources like Azure AD groups). Once the user’s role is resolved, we dynamically create/update the corresponding Valkey ACL user during authentication within this custom Auth module.
Current Role-to-ACL permissions
The module defines role permission templates configurable via module configuration:
Flow:

Explanation:
At authentication time:
Why We Chose This Approach
Questions for the Valkey Community
Thank you for your feedback.
Beta Was this translation helpful? Give feedback.
All reactions