You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tellier Benoit (JIRA)" <ji...@apache.org> on 2017/09/27 03:06:00 UTC

[jira] [Updated] (MAILBOX-307) Refactor ACL handling

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

Tellier Benoit updated MAILBOX-307:
-----------------------------------
    Description: 
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.

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


> 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
(v6.4.14#64029)

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