Ma77Ball opened a new pull request, #9573: URL: https://github.com/apache/texera/pull/9573
### What changes were proposed in this PR? - ResourceAccess.revoke resolves the grantee uid through OwnerAccess.registeredUid and throws BadRequestException for an unregistered email, mirroring grant, so revoking access for an email that is not a registered user returns 400 instead of a 500 from a NullPointerException. ### Any related issues, documentation, discussions? Closes: #9570 ### How was this PR tested? - Run `sbt "Resource/testOnly *ResourceAccessSpec"` under JDK 17; expect 17 passing, including a new case asserting revoke with an unregistered email throws a 400 BadRequestException. - Share a dataset, then call the revoke-access endpoint with an email that is not a registered user, and confirm the response is 400, not 500. ### Was this PR authored or co-authored using generative AI tooling? Co-authored with Claude Opus 4.8 in compliance with ASF -- 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]
