Skip to main content

CreateRepoGrantInput

Share an OCI repo with recipient projects matching attribute conditions. The caller must have repo:update on the source repo.

input CreateRepoGrantInput {
action: String!
recipientConditions: Conditions!
}

Fields

CreateRepoGrantInput.action ● String! non-null scalar {#action}

The action being granted on the repo. Currently the only grantable repo action is repo:pull — repo visibility is inferred from any granted action, and publishing is not a sharing concern.

CreateRepoGrantInput.recipientConditions ● Conditions! non-null scalar {#recipient-conditions}

Restrict this grant to recipient projects whose attributes match every condition. Send the literal "*" to apply to every project in the organization. Per-key, send "*" to match any value or a non-empty list of strings to match a closed set.

Member Of

createRepoGrant mutation