01Authority grants
A grant is a written delegation of authority from your organisation to one agent: which actions it may take, on which resources, on whose behalf, within which limits, and for how long. Without a grant that covers a request, Arc denies it. Organisation administrators create grants in Authority Management → Create authority grant.
| Term | Meaning |
|---|---|
| name, purpose | What the delegation is for. Recorded with every decision made under it. |
| actions | Up to 50 action keys the agent may request. |
| resource scope | For each resource type: specific identifiers only, or all resources of that type in the organisation. |
| principal scope | On whose behalf the agent may act (below). |
| constraints | Per-action limits on amount, currency and purpose (below). |
| approval rules | Per-action amounts above which a person must approve. |
| valid from, expires | When the grant is in effect. valid from is inclusive and defaults to now; expires is required. |
02Principals: on whose behalf
Every request names the principal the agent is acting for, in on_behalf_of:
{ "kind": "organisation" }{ "kind": "employee", "id": "5b1e2c4a-9d0f-4c1e-8a7b-2f6d3e9c1a40" }{ "kind": "customer", "id": "cus_8812" }Example
- organisation: the organisation itself. No id.
- employee: a member of the organisation, by their Arc user id. If they are no longer an active member, the request is denied with
PRINCIPAL_INACTIVE. - customer: one of your own customers, by your own customer id (letters, digits and
_ . : @ / + -, up to 200 characters).
A grant’s principal scope lists which of these it covers: the organisation; specific employees or any active employee; specific customers or any customer. By default a grant covers the organisation only. A principal outside the scope is denied with PRINCIPAL_NOT_IN_SCOPE. Principal scope is set in the grant wizard’s Scope & principals step.
03Constraints and approval
| Constraint | Effect |
|---|---|
| maximum_amount | The most the action may carry. Requires exactly one currency on the same action. Above it: LIMIT_EXCEEDED. |
| currency | The currencies the action may use. Others: CURRENCY_NOT_PERMITTED. |
| purposes | The purposes the agent may state. Others: PURPOSE_NOT_PERMITTED. |
If an action is limited by amount and the request has none, it is denied with AMOUNT_REQUIRED. A constraint Arc cannot evaluate denies the request (CONSTRAINT_UNSUPPORTED): Arc never guesses.
Approval thresholds
An approval rule sets a threshold below the action’s maximum amount:
- At or below the threshold:
ALLOW. Arc performs the action. - Above the threshold, up to the maximum:
REQUIRES_APPROVAL. The action is held for a person. - Above the maximum:
DENY,LIMIT_EXCEEDED.
04How Arc picks the grant
The agent does not need to say which grant it is using. Arc evaluates every grant the agent holds and uses the best outcome: a grant that allows the request, then one that requires approval, then the most specific denial. If no grant covers the action at all, the decision is NO_APPLICABLE_GRANT. Among equally good grants, the oldest wins.
The decision records which grant, and which version of it, was used. An agent may name a grant with grant_id; Arc then evaluates only that grant.
05Amending and revoking
- Amending a grant creates a new version, with a reason. Earlier versions are kept for good, so every past decision can be traced to the exact terms it was made under.
- Revoking a grant is immediate and permanent. Later requests are denied with
GRANT_REVOKED. - A grant that is amended, revoked or expires while an action waits for approval cancels that approval. Arc never performs an action under terms that no longer apply.
06Approvals
- A held action appears in Approvals. An administrator or approver reviews it, gives a reason (10 to 500 characters, kept permanently), and approves or rejects.
- When an action is held, Arc emails every active administrator and approver of the organisation, with a link to the request. The email names the agent, the action, the amount and when the request expires. Parameters, purpose and the principal stay in the dashboard, behind sign-in.
- Approval is bound to that exact request. On approval Arc checks the agent, grant, principal, policies and definition again, then performs the action once.
- An approval expires after 24 hours, or when the grant expires if that is sooner.
- The agent follows the action with
GET /v1/actions/{id}or thearc_action_statustool. Arc does not push notifications to agents.
