james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (MAILBOX-307) Refactor ACL handling
Date Wed, 04 Oct 2017 09:34:00 GMT

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

Tellier Benoit closed MAILBOX-307.

> Refactor ACL handling
> ---------------------
>                 Key: MAILBOX-307
>                 URL: https://issues.apache.org/jira/browse/MAILBOX-307
>             Project: James Mailbox
>          Issue Type: Improvement
>            Reporter: Tellier Benoit
> We want to implement delegation as part of JMAP, thus we want to rely on the mailbox
ACL engine.
> Even though usable as such, such tiny evolutions can make our experience feel way better.
> We can:
>  - Allow resetting a full ACL at once threw the mailbox manager
>  - Optimize right representation (walk away from a bit map!)
>  - Rewrite in functional style ACL union except and replace
>  - Various other improvment in SimpleMailboACL and enforce our general code practices.
>  - Use directly ACLs bean and remove unneeded level of interfaces
> Some refactoring needs also to be done in Cassandra:
>  - mailboxId should not be a field of Cassandra ACL mapper
>  - Using ACL mapper should be a responsibility of the MailboxMapper only.
>  - These change allows having query prepared (very important Cassandra good practice!)
> Finally, we can add some mapper layer tests for ACL storage.

This message was sent by Atlassian JIRA

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

View raw message