influxdb/service_grpc_flight
Martin Hilton c8a7a8ec91
fix(service_grpc_flight): invalid token status code (#7960)
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>
2023-06-09 12:09:51 +00:00
..
src fix(service_grpc_flight): invalid token status code (#7960) 2023-06-09 12:09:51 +00:00
Cargo.toml build: remove unused dependencies from crates 2023-05-23 14:55:43 +02:00