Assignment-derived resolution grants¶
A resolution grant is a short-lived permission that lets one node fetch one credential for one piece of work. Xratu creates it automatically when it places your project on a node, and it is valid only for that node, that work and that credential. You never create or manage grants. Knowing how they work explains why moving work, disabling a binding or revoking an integration takes effect the way it does. This page covers when grants exist, what they allow and when they stop working.
When grants exist¶
When Xratu assigns your project to a node, it gives that node one grant for each credential the project needs. The node shows its grant, together with its own identity, to its installation-local XSRP gateway, and the gateway fetches the credential.
A project that needs no credentials gets no grants.
What a grant allows¶
A grant allows exactly what the project's auth.xratu mapped, for the work
that node is doing:
- one binding, at the revision the project was deployed with;
- one kind of use, such as fetching the credential or signing with a key;
- a limited number of uses, for a limited time.
A node cannot use a grant for another credential, another project or more uses, and a grant on its own fetches nothing: the XSRP gateway also requires the node's identity.
When a grant stops working¶
| What happens | Effect on grants |
|---|---|
| The work moves to another node | The old node's grants stop working; the new node gets new ones |
| The grant's time or use limit runs out | It stops working; renewal issues a new grant |
| A binding, integration or approval is disabled | No new grants; existing ones run to their limit |
| A binding, integration or approval is revoked | Existing grants stop working at once |
The installation-local XSRP gateway asks Xratu to authorize and reserve every grant use before fetching. The single reservation prevents a retry or second gateway replica from spending the same use twice. If your organization allows it, the gateway can keep working through a short Xratu outage on a short-lived signed grant and the active gateway's retained recovery record; regulated setups can turn that off so every fetch is authorized live.
When loss of the logical XSRP gateway makes a data plane installation unavailable, the ordinary ownership handover stops the old grants and gives the destination new grants bound to its gateway. The installation reconciler may restore the old gateway, but its previous grants stay fenced. An unresolved manager effect blocks repetition of that effect on the destination while the work moves under ordinary ownership handover.