JMAP for Contacts implementation (part 1)
This commit is contained in:
@@ -251,6 +251,18 @@ impl Permission {
|
||||
Permission::CalendarSchedulingReceive => {
|
||||
"Receive calendar scheduling requests via e-mail"
|
||||
}
|
||||
Permission::JmapAddressBookGet => "Retrieve address books via JMAP",
|
||||
Permission::JmapAddressBookSet => "Create or update address books via JMAP",
|
||||
Permission::JmapAddressBookChanges => "Track address book changes via JMAP",
|
||||
Permission::JmapContactCardGet => "Retrieve contact cards via JMAP",
|
||||
Permission::JmapContactCardChanges => "Track contact card changes via JMAP",
|
||||
Permission::JmapContactCardQuery => {
|
||||
"Search for contact cards matching criteria via JMAP"
|
||||
}
|
||||
Permission::JmapContactCardQueryChanges => "Track contact card query changes via JMAP",
|
||||
Permission::JmapContactCardSet => "Create or update contact cards via JMAP",
|
||||
Permission::JmapContactCardCopy => "Copy contact cards to new locations via JMAP",
|
||||
Permission::JmapContactCardParse => "Parse contact cards via JMAP",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1465,6 +1465,16 @@ impl Permission {
|
||||
| Permission::CalendarAlarms
|
||||
| Permission::CalendarSchedulingSend
|
||||
| Permission::CalendarSchedulingReceive
|
||||
| Permission::JmapAddressBookGet
|
||||
| Permission::JmapAddressBookSet
|
||||
| Permission::JmapAddressBookChanges
|
||||
| Permission::JmapContactCardGet
|
||||
| Permission::JmapContactCardChanges
|
||||
| Permission::JmapContactCardQuery
|
||||
| Permission::JmapContactCardQueryChanges
|
||||
| Permission::JmapContactCardSet
|
||||
| Permission::JmapContactCardCopy
|
||||
| Permission::JmapContactCardParse
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -379,6 +379,18 @@ pub enum Permission {
|
||||
CalendarAlarms,
|
||||
CalendarSchedulingSend,
|
||||
CalendarSchedulingReceive,
|
||||
|
||||
JmapAddressBookGet,
|
||||
JmapAddressBookSet,
|
||||
JmapAddressBookChanges,
|
||||
|
||||
JmapContactCardGet,
|
||||
JmapContactCardChanges,
|
||||
JmapContactCardQuery,
|
||||
JmapContactCardQueryChanges,
|
||||
JmapContactCardSet,
|
||||
JmapContactCardCopy,
|
||||
JmapContactCardParse,
|
||||
// WARNING: add new ids at the end (TODO: use static ids)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user