-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Upon adding resource administrator (update and creation)
Also position a write delegation onto the resource calendar for each administrator
Upon removing resource administrator (update and delete)
Also revoke this administrative right
Implements a route POST resources?task=repositionWriteRights that for each resource reset the write rights to the actual population of administrators (used eg for migration).
Definition of done: Resource administrator can update resource participation from OpenPaaS calendar SPA
Technically:
curl 'https://dav.linagora.com/calendars/{domainId}/{resourceId}.json' \
-H 'Authorization: Bearer TECHNICAL_TOKEN' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{"share":{"set":[{"dav:href":"mailto:[email protected]","dav:read-write":true}],"remove":[]}}'
curl 'https://dav.linagora.com/calendars/5f50a663bdaffe002629099c/5f50a663bdaffe002629099c.json' \
-H 'Authorization: Bearer TECHNICAL_TOKEN' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{"share":{"set":[],"remove":[{"dav:href":"mailto:[email protected]"}]}}'
Metadata
Metadata
Assignees
Labels
No labels