Skip to main content
Version: v5.6.1

opschain governance owners declare

packs:change-governance

opschain governance owners declare <node-path> [--owner-user <u>]... [--owner-group <g>]... [--owner-kind <k>]...

Declares the owners of a node and its whole subtree (ChangeGovernanceService.CreateAssetOwner). Each declaration covers its node and subtree on segment boundaries and the deepest covering declaration wins; the impacted_asset_owners approver kind and the register's OWNER column resolve against these rows. Needs the delegable change-governance determination on the subtree and a stepped-up session.

Flags​

FlagMeaning
--owner-user <name>A username on the owner list (repeatable).
--owner-group <name>A directory group on the owner list (repeatable).
--owner-kind <kind>A resolved owner kind (repeatable).

Exit codes​

CodeMeaning
0Done.
1The server refused or failed the request (named in the error).
2Usage error — missing mandatory flags or no server target.