This is an automated email from the ASF dual-hosted git repository. chibenwa pushed a commit to branch 3.8.x in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 0f5c5f83be64c079ed5ad81eab0ef434b1735f25 Author: Benoit TELLIER <[email protected]> AuthorDate: Wed Jun 3 10:11:32 2026 +0200 fixup! [ENHANCEMENT] Implement negative ACL for JMAP --- .../src/main/java/org/apache/james/mailbox/store/StoreRightManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailbox/store/src/main/java/org/apache/james/mailbox/store/StoreRightManager.java b/mailbox/store/src/main/java/org/apache/james/mailbox/store/StoreRightManager.java index 1607ef7fed..7225ac6484 100644 --- a/mailbox/store/src/main/java/org/apache/james/mailbox/store/StoreRightManager.java +++ b/mailbox/store/src/main/java/org/apache/james/mailbox/store/StoreRightManager.java @@ -324,7 +324,7 @@ public class StoreRightManager implements RightManager { MailboxACL.EntryKey userAsKey = MailboxACL.EntryKey.createUserEntryKey(mailboxSession.getUser()); // Expose the full ACL only when the user effectively holds Administer (i.e. after applicable // negative ACL entries have been subtracted), not merely from their raw positive entry. - Rfc4314Rights effectiveRights = aclResolver.resolveRights(mailboxSession.getUser(), acl, mailbox.getUser()); + Rfc4314Rights effectiveRights = aclResolver.resolveRights(mailboxSession.getUser(), acl, mailbox.getUser().asString()); if (effectiveRights.contains(MailboxACL.Right.Administer)) { return acl; } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
