c8a7a8ec91
Historically the authz crate didn't distinguish between an invalid token and a valid token without the required permissions. Recently errors were added to distinguish these cases. This means that an invalid token now returns an "Internal" error if supplied an invalid token. Detect this case and return a "Permission Denied" error, which is the error type that was previously returned in this case. Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |