changeDraftDocRuleOwnership
PATCH/doc-rules/:docRuleId/draft-ownership
The draft of a DocRule relates to two user profiles:
- the user that originally created the draft:
draftOwnerUserProfile; - the user currently editing the draft:
currentDraftUserProfile. This service changes thecurrentDraftUserProfile. The id must refer to a DocRule draft. If the caller is thecurrentDraftUserProfilethe change of ownership takes place immediately; otherwise a configurable amount of time must have passed since the last modification of the draft.
To access the service you need at least one of the following permissions:
| Permission (one of) |
|---|
| createDocRule |
| updateDocRule |