Something that makes a permissions system feel broken even when the policy is right: copying roles or scopes into a JWT and letting that token live for hours. You revoke someone or change their role, and every check still says yes until the token expires. Short-lived access tokens, with the refresh path reloading current authorization, fix most of that. For the sensitive calls I'd still ask a server-side policy store instead of trusting the claims from login.
40
u/comrade_donkey Sep 09 '26
Looks inside...
ABAC.
1
u/AuthByExample Sep 18 '26
Something that makes a permissions system feel broken even when the policy is right: copying roles or scopes into a JWT and letting that token live for hours. You revoke someone or change their role, and every check still says yes until the token expires. Short-lived access tokens, with the refresh path reloading current authorization, fix most of that. For the sensitive calls I'd still ask a server-side policy store instead of trusting the claims from login.
4
u/[deleted] Sep 09 '26 edited Sep 09 '26
[removed] — view removed comment