You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2026/07/06 05:49:34 UTC

(james-project) 04/05: Restrict rights in MailboxCreationAndSharing

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 0fe32a162a017e7233ab5266176850f56d57073f
Author: Benoit TELLIER <bt...@linagora.com>
AuthorDate: Wed Jun 10 08:23:55 2026 +0200

    Restrict rights in MailboxCreationAndSharing
---
 .../test/resources/cucumber/sharing/MailboxCreationAndSharing.feature  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/server/protocols/jmap-draft-integration-testing/jmap-draft-integration-testing-common/src/test/resources/cucumber/sharing/MailboxCreationAndSharing.feature b/server/protocols/jmap-draft-integration-testing/jmap-draft-integration-testing-common/src/test/resources/cucumber/sharing/MailboxCreationAndSharing.feature
index 0aa408158e..eb9d96b96c 100644
--- a/server/protocols/jmap-draft-integration-testing/jmap-draft-integration-testing-common/src/test/resources/cucumber/sharing/MailboxCreationAndSharing.feature
+++ b/server/protocols/jmap-draft-integration-testing/jmap-draft-integration-testing-common/src/test/resources/cucumber/sharing/MailboxCreationAndSharing.feature
@@ -26,7 +26,8 @@ Feature: Mailbox creation and sharing
     And "alice@domain.tld" has a mailbox "shared"
     And "alice@domain.tld" shares her mailbox "shared" with "bob@domain.tld" with "aeilrwt" rights
 
-  Scenario: A sharee should not be able to update shared mailbox rights
+  Scenario: A sharee without administer right should not be able to update shared mailbox rights
+    Given "alice@domain.tld" shares her mailbox "shared" with "bob@domain.tld" with "eilrwt" rights
     When "bob@domain.tld" shares "alice@domain.tld" delegated mailbox "shared" with rights "aeilrwt" with "bob@domain.tld"
     Then mailbox "shared" owned by "alice@domain.tld" is not updated
 


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