Ma77Ball opened a new issue, #9570: URL: https://github.com/apache/texera/issues/9570
### What happened? Revoking a user's access to a dataset or model by an email that is not a registered user returns a 500 Internal Server Error instead of a clean 400 Bad Request. Granting to an unknown email already returns 400; only revoke crashes. ### How to reproduce? Call the revoke-access endpoint (e.g. on a dataset) with an email that belongs to no registered user; the server responds 500. In code, ResourceAccess.revoke resolves the grantee with ctx.select(USER.UID)...fetchOne().value1(), and fetchOne() returns null for an unknown email, so value1() throws a NullPointerException. ### Version/Branch main -- 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]
