quantranhong1999 commented on code in PR #3051:
URL: https://github.com/apache/james-project/pull/3051#discussion_r3308798457


##########
server/protocols/jmap-rfc-8621/src/main/scala/org/apache/james/jmap/routes/DownloadRoutes.scala:
##########
@@ -244,6 +278,13 @@ class MessagePartBlobResolver @Inject()(val 
messageIdFactory: MessageId.Factory,
           .switchIfEmpty(SMono.just(NonApplicable))
     }
   }
+
+  override def validateAccess(blobId: BlobId, mailboxSession: MailboxSession): 
SMono[java.lang.Boolean] =
+    resolve(blobId, mailboxSession)

Review Comment:
   I am not confident with self-crafted code regarding part IDs, therefore 
relying on `resolve` for `MessagePartBlobResolver` now.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to