This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit a91067299ff2566017a7f6a932a9d7f3a6d17de2
Author: LanKhuat <dlkh...@linagora.com>
AuthorDate: Wed Aug 19 17:20:55 2020 +0700

    JAMES-3359 Add Javadoc for applyRightsCommand by MailboxId
---
 .../api/src/main/java/org/apache/james/mailbox/RightManager.java | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git 
a/mailbox/api/src/main/java/org/apache/james/mailbox/RightManager.java 
b/mailbox/api/src/main/java/org/apache/james/mailbox/RightManager.java
index 84eda2b..deade96 100644
--- a/mailbox/api/src/main/java/org/apache/james/mailbox/RightManager.java
+++ b/mailbox/api/src/main/java/org/apache/james/mailbox/RightManager.java
@@ -98,7 +98,6 @@ public interface RightManager {
      */
     Rfc4314Rights myRights(MailboxPath mailboxPath, MailboxSession session) 
throws MailboxException;
 
-
     /**
      * Returns the rights applicable to the user who has sent the current
      * request on the mailbox designated by this mailboxPath.
@@ -135,6 +134,14 @@ public interface RightManager {
      */
     void applyRightsCommand(MailboxPath mailboxPath, MailboxACL.ACLCommand 
mailboxACLCommand, MailboxSession session) throws MailboxException;
 
+    /**
+     * Update the Mailbox ACL of the designated mailbox. We can either ADD 
REPLACE or REMOVE entries.
+     *
+     * @param mailboxId Id of the mailbox you want to apply rights on.
+     * @param mailboxACLCommand Update to perform.
+     * @param session The session used to determine the user used to apply 
rights.
+     * @throws MailboxException in case of unknown mailbox or unsupported right
+     */
     void applyRightsCommand(MailboxId mailboxId, MailboxACL.ACLCommand 
mailboxACLCommand, MailboxSession session) throws MailboxException;
 
     /**


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to