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

Authenticate either as self or admin #440

Open
arrowd opened this issue Mar 28, 2024 · 0 comments
Open

Authenticate either as self or admin #440

arrowd opened this issue Mar 28, 2024 · 0 comments

Comments

@arrowd
Copy link
Contributor

arrowd commented Mar 28, 2024

Imagine we have some sort of change-password action and an user want to change the password for his own account. The auth_self authorization type fits well, however a systems administrator can change passwords for any account in the system, including this one.

It'd make sense to have a auth_self_admin auth type that will pass both admin identities as well as the callers one.

Or am I missing something fundamental and this can be implemented on the rule level?

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

No branches or pull requests

1 participant