goauthentik / goauthentik/authentik
RBAC: Users with permission to set global permissions to roles can set any permission
Open
enhancement
enhancement/confirmed
- Dominant language
- Python
- Stars
- 25.6k
- Forks
- 2k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 644
Description
### Is your feature request related to a problem?
Users with permission to set global permissions to roles can set any permission to roles. This is a way of self elevating access.
### Describe the solution you'd like
A user should only be able to set the permissions they themselves have access to, to prevent self elevation of access.
### Describe alternatives that you've considered
No alternative, this has been omitted from our use case due to the security implications.
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.