Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return the username for the current session #362

Open
asmahood opened this issue Feb 11, 2025 · 0 comments
Open

Return the username for the current session #362

asmahood opened this issue Feb 11, 2025 · 0 comments
Labels
type::Feature Issues/Pull requests that implement a new feature/enhancement work::Product Development

Comments

@asmahood
Copy link
Member

Description

For RBAC, authorization will occur after authentication, so we need the SessionManager to return the username for the session it is authenticating so it can be used in later steps for authorization. Store this information in context so it can be easily accessed by future Gin middleware/routes.

@asmahood asmahood added type::Feature Issues/Pull requests that implement a new feature/enhancement work::Product Development labels Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::Feature Issues/Pull requests that implement a new feature/enhancement work::Product Development
Projects
None yet
Development

No branches or pull requests

1 participant