bharos commented on PR #11790: URL: https://github.com/apache/gravitino/pull/11790#issuecomment-4847273209
> How to handle not-existed roles or other illegal roles? Good question , I added a "Validation and error handling" subsection. Two failure classes: Malformed value → 400: empty entries, an unknown keyword, or ALL/NONE combined with anything (they're exclusive). Unauthorized role → 403: well-formed but names a role you don't currently hold. A non-existent role and a not-granted role are treated the same (both 403) so the response can't be used to probe which roles exist. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
