Skip to content

Spec: Clarify auth responses in the REST spec#6251

Merged
danielcweeks merged 1 commit intoapache:masterfrom
rdblue:rest-clarify-auth-failures
Nov 27, 2022
Merged

Spec: Clarify auth responses in the REST spec#6251
danielcweeks merged 1 commit intoapache:masterfrom
rdblue:rest-clarify-auth-failures

Conversation

@rdblue
Copy link
Copy Markdown
Contributor

@rdblue rdblue commented Nov 22, 2022

This is a minor clarification to the REST catalog spec. When a request is unauthenticated or unauthorized, the REST service must respond with a correct HTTP error code and must not return fake success responses. For example, if a request to load a table is unauthorized, the service cannot return fake table metadata to signal that the table exists but cannot be used.

@danielcweeks danielcweeks merged commit 7b0bda9 into apache:master Nov 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants