#4388·gofr

RBAC: 根据令牌的范围/权限要求授权,并添加 #2144 中约定的角色/权限提取器钩子

作者: akshat-kumar-singhal创建于 2026年9月26日更新于 2026年10月1日

Is your feature request related to a problem? Please describe.

EnableRBAC decides every request from one role-name string, read from roleHeader or a single jwtClaimPath, and maps it to permissions through the static roles section of the config. Most identity providers don't put authority in a token that way. They send it as: