Benoit Tellier created JAMES-3534:
-------------------------------------

             Summary: Implement Identity/set
                 Key: JAMES-3534
                 URL: https://issues.apache.org/jira/browse/JAMES-3534
             Project: James Server
          Issue Type: Sub-task
          Components: JMAP
    Affects Versions: 3.6.0
            Reporter: Benoit Tellier
            Assignee: Antoine Duprat


https://jmap.io/spec-mail.html#identityset is currently not implemented.

Only https://jmap.io/spec-mail.html#identityget is supported, and exposes 
read-only identities based on RecipientRewriteTable content (email and domain 
aliases).

In addition to these server generated Identities, a user might wish to manage 
its own identities, Identity/set would allow to do this.

*How:*

This means we need a storage being defined for user created identities, so API 
& contract tests (within server/data/data-jmap), cassandra implementation and 
memory implementation.

Once this storage implemented...

 - Identity/get would do the union of the server generated identities and of 
the user created identities. 

User created identities and server ones might be distinguished by frontend apps 
via the mayDelete field (only user created Identities may be deleted)

 - Identity/set would use this identity repository. Validation would need to be 
performed: the from field need to be validated.

As we want several identity by address, and we might want to update that 
address, user created Identities would need to have a UUID backed identifier.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to