Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test + document + refactor use of anyone in a mailbox ACL entry key #5314

Closed
3 tasks
chibenwa opened this issue Oct 30, 2024 · 0 comments
Closed
3 tasks

Test + document + refactor use of anyone in a mailbox ACL entry key #5314

chibenwa opened this issue Oct 30, 2024 · 0 comments
Assignees

Comments

@chibenwa
Copy link
Member

What

{using: [urn:ietf:params:jmap:mail, urn:ietf:params:jmap:core, urn:apache:james:params:jmap:mail:shares],
methodCalls: [[Mailbox/set, {accountId: 548575abf99bc986f5f2318a4ab2ca22790513380dd5beb32daf004934e1635d,
update: {58fb3d50-8f84-11ef-87be-c1d0831d0b43: {sharedWith: {anyone: [r]}}}}, c0]]}

CF linagora/tmail-flutter#3241

  • Test showing this corresponds well to the anyone entry-key and not to the entry key of a user anyone.
  • Document this into the urn:apache:james:params:jmap:mail:share documentation
  • And finally a little refactoring in order to make this explicit in the type system of the JMAP datamodel (leverage sealed trait?)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants