Skip to main content

setAppGridClaimPolicy

Set how a player claim confers grid ownership in this app (D4): SELF_CLAIM, APPROVAL (optionally with a designated approver list), INVITE, or MARKETPLACE_ONLY. Requires 'manage_apps'. SIDE EFFECTS: replica-syncs to game-api, where claimGridOwnership enforces the policy. Changing policy never revokes existing grid_ownership rows.

setAppGridClaimPolicy(
appId: BigInt!
policy: GridClaimPolicy!
approverUserIds: [BigInt!] = []
): GridClaimPolicy!

Arguments

setAppGridClaimPolicy.appId ● BigInt! non-null scalar

Numeric app id whose claim policy to set.

setAppGridClaimPolicy.policy ● GridClaimPolicy! non-null enum

The new claim policy.

setAppGridClaimPolicy.approverUserIds ● [BigInt!] list scalar

Player user ids allowed to approve claim requests in APPROVAL mode. Empty falls back to org staff holding manage_compute.

Type

GridClaimPolicy enum

How a player claim confers grid ownership in this app (D4): SELF_CLAIM (the claim alone assigns ownership), APPROVAL (claims create requests designated approvers accept), INVITE (only against a standing invite), or MARKETPLACE_ONLY (only a marketplace grid purchase; direct claims refused — the purchase edge ships in P4b).