Skip to main content

grantPrerequisitePaths

The prerequisite chain of each Grant in grants, in the order given: the access each needs first, through the same walk the provisioning operation runs. Pass exactly one of assigned_resource_id (an existing account: each step says whether it holds it, under the assignment's own visibility) or resource_id (an account being provisioned or requested: with provisioning.read, or the right to request for beneficiary_id, the caller by default). With request_id, resource_id is one the request asks for and every Grant must be one it asks for there; the read then needs only the request's own visibility, so its approvers see what it brings. At most 100 Grants.

grantPrerequisitePaths(
assigned_resource_id: ID
beneficiary_id: ID
grants: [GrantInput!]!
request_id: ID
resource_id: ID
): [GrantPrerequisitePath!]!

Arguments​

grantPrerequisitePaths.assigned_resource_id ● ID scalar​

grantPrerequisitePaths.beneficiary_id ● ID scalar​

grantPrerequisitePaths.grants ● [GrantInput!]! non-null input​

grantPrerequisitePaths.request_id ● ID scalar​

grantPrerequisitePaths.resource_id ● ID scalar​

Type​

GrantPrerequisitePath object​

A Grant's prerequisite chain, as the add, request and approval surfaces preview it.