Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Mailboxes/get should conform [the rule of using capabilities](https://jmap.io/spec-core.html#the-request-object):
> using: String[] The set of capabilities the client wishes to use. The client MAY include capability identifiers even if the method calls it makes do not utilise those capabilities.
constraints
- return `unknownCapability` request-level error on unknown capabilities
- return *what* on not supported capabilities ?
- return altered results for effective capabilities. But I don't see any capability can make effect on Mailboxes/Get
DOD:
- Register capabilities by a static field.
- Implement capabilities validation
- Implement capability effects on each processed objects (provide a generic mechanism)
- Tests