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
| Flag | Meaning |
|---|---|
--owner-user <name> | A user on the owner list: a principal id, username or <provider>:<username>, stored as the principal id; a username several accounts hold is refused until qualified (repeatable). |
--owner-group <name> | A directory group on the owner list (repeatable). |
--owner-kind <kind> | A resolved owner kind (repeatable). |
Exit codes
| Code | Meaning |
|---|---|
| 0 | Done. |
| 1 | The server refused or failed the request (named in the error). |
| 2 | Usage error — missing mandatory flags or no server target. |