This is an automated email from the ASF dual-hosted git repository. rcordier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit f5d397ca40518df5b6b39443f60a34653bc4b423 Author: LanKhuat <dlkh...@linagora.com> AuthorDate: Thu Aug 20 10:36:39 2020 +0700 JAMES-3361 ImapHostSystem should use owner's session to set rights for mailbox --- .../src/main/java/org/apache/james/mpt/host/JamesImapHostSystem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpt/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/host/JamesImapHostSystem.java b/mpt/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/host/JamesImapHostSystem.java index b15d28e..cd1e0d7 100644 --- a/mpt/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/host/JamesImapHostSystem.java +++ b/mpt/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/host/JamesImapHostSystem.java @@ -118,7 +118,7 @@ public abstract class JamesImapHostSystem implements ImapHostSystem, GrantRights .forUser(username) .rights(rights) .asAddition()), - mailboxManager.createSystemSession(username)); + mailboxSession); mailboxManager.logout(mailboxSession); mailboxManager.endProcessingRequest(mailboxSession); } --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org