You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Revoking dataset/model access for an unknown email returns 500 #9570
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.
Activity