Skip to content

GrantCreateOptions

GrantCreateOptions

Input for idempotently creating a repository Grant.

A Grant draws its coverage from exactly one source: inline coverage, or viewRef naming a View (View/<name>, or View/<name>@vN to pin one definition). The union makes that exclusive at the call site rather than leaving it to a server round trip; the server stores the View’s durable identity, so the Grant keeps meaning the same View after a rename.