You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by GitBox <gi...@apache.org> on 2023/01/09 15:06:54 UTC

[GitHub] [james-project] chibenwa commented on a diff in pull request #1382: JAMES-3756 JMAP endpoint (upload/download) should support being called with accountIds of delegated accounts

chibenwa commented on code in PR #1382:
URL: https://github.com/apache/james-project/pull/1382#discussion_r1064742796


##########
server/protocols/jmap-rfc-8621-integration-tests/memory-jmap-rfc-8621-integration-tests/src/test/java/org/apache/james/jmap/rfc8621/memory/MemoryDownloadTest.java:
##########
@@ -42,7 +46,11 @@ public class MemoryDownloadTest implements DownloadContract {
             .usersRepository(DEFAULT)
             .build())
         .server(configuration -> MemoryJamesServerMain.createServer(configuration)
-            .overrideWith(new TestJMAPServerModule()))
+            .overrideWith(new TestJMAPServerModule())
+            .overrideWith(binder -> {
+                binder.bind(DelegationStoreAuthorizator.class).in(Scopes.SINGLETON);
+                binder.bind(Authorizator.class).to(DelegationStoreAuthorizator.class);
+            }))

Review Comment:
   Cherry pick https://github.com/apache/james-project/pull/1380/commits/42bad47a6381046a135a08e27be264c4857c0fc9 instead



-- 
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: notifications-unsubscribe@james.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org