self_approval
The action runs on your behalf (its Deedglass-On-Behalf-Of names your user id or email), and your org keeps separation of duties: the person an action is for can’t countersign it.
HTTP 403 · permission_error · not retryable
What happened
Section titled “What happened”The action runs on your behalf (its Deedglass-On-Behalf-Of names your user id or email), and your org keeps separation of duties: the person an action is for can’t countersign it. Denying is still allowed.
What to do
Section titled “What to do”Ask another approver to countersign, or deny it. A one-person org can allow self-countersign in Console › Settings › Approvals.
Example
Section titled “Example”{ "error": { "type": "permission_error", "code": "self_approval", "message": "This action runs on your behalf, so another approver has to countersign it. You can still deny it.", "param": null, "request_id": "req_01j9zr3m5k8q2w7x4t6v0b1c9d", "doc_url": "https://docs.deedglass.com/errors/self_approval" }}The message is for a person and can get more exact over time: branch on type and code, never on the message.
In the SDKs
Section titled “In the SDKs”| SDK | Raised as |
|---|---|
TypeScript (@deedglass/sdk) |
PermissionDeniedError with code === "self_approval" |
Python (deedglass) |
deedglass.PermissionDeniedError with .code == "self_approval" |