tanishqgandhi1908 commented on code in PR #8890:
URL: https://github.com/apache/texera/pull/8890#discussion_r4343400874
##########
common/resource/src/main/scala/org/apache/texera/service/resource/ResourceAccess.scala:
##########
@@ -286,6 +292,7 @@ object ResourceAccess {
): Response = {
requireWriteAccess(ctx, resource, id, requesterUid)
val granteeUid = new
UserDao(ctx.configuration()).fetchOneByEmail(email).getUid
Review Comment:
This is exactly what #8384 (by @gupta-sahil01) fixes: it makes revoke reuse
the same email check as grant, so both return 400. I have left it out here to
avoid overlapping with that PR.
--
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]