[ 
https://issues.apache.org/jira/browse/IMAP-351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jochen Gazda updated IMAP-351:
------------------------------

    Attachment: ImapGetACLTest.java
                IMAP-GETACL.txt

The patch adds very basic support for GETACL command. A small javamail
based demo program is also attached. "us...@dom1.com" with password
"1234" needs to be created before ImapGetACLTest is run.

Within my workspace the following tests failed or were skipped for
taking too long to finish, whereby I cannot say if it was due to my
changes:
james-server-smtpserver
apache-james-mailbox-hbase
james-server-queue-activemq

What needs to be done:

(1) I have put some FIXMEs and TODOs in the patch where somebody
experienced should please have a look.

(2) ACL getter and setter stubs should be filled in Mailbox
implementations. New tests should be added for those getters and
setters.
Due to the fact that there is no ACL persistence support in the
mailbox implementations, the only ACLs that are effective at the
moment are the global ACLs in
org.apache.james.mailbox.UnionMailboxACLResolver. The default values
for these global ACLs are: (a) full rights for mailbox owner if the
mailbox owner is a user and (b) full except for a (administration)
rights if the mailbox is a group. I guess this is roughly how it
worked before my patch.

(3) Mapping of ACL Rights to READ-WRITE and READ-ONLY Response Codes,
see RFC 4314 section 5.2.

(4) Enforce rights required to perform different IMAP4rev1 Commands in
IMAP processors, see RFC 4314 section 4. Write tests.

(5) MailboxACLUpdated event should be fired and litstened to.
                
> ACL Support
> -----------
>
>                 Key: IMAP-351
>                 URL: https://issues.apache.org/jira/browse/IMAP-351
>             Project: JAMES Imap
>          Issue Type: New Feature
>          Components: JCR Mailbox, JPA Mailbox, Mailbox, Maildir Mailbox, 
> Parser, Processor, Protocol
>    Affects Versions: 0.3
>            Reporter: Jochen Gazda
>              Labels: ACL, IMAP
>             Fix For: 0.3
>
>         Attachments: IMAP-GETACL.txt, ImapGetACLTest.java
>
>   Original Estimate: 672h
>  Remaining Estimate: 672h
>
> Support for RFC 4314 IMAP4 Access Control List (ACL) Extension

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
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