authority_repair_operator_schema
Owner repair: reassign every table in an operator's tenant schema to the operator's own role, then re-grant DML.
For tenants whose tables were created/owned by the provisioning role — the operator role then cannot CREATE INDEX on them ("must be owner"), which aborts the whole vault bootstrap. Unlike register_operator this does NOT rotate the operator's DB password or re-send the bootstrap DM; it only fixes ownership + grants in place. Idempotent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operator_npub | No | The operator npub whose tenant-schema ownership to repair. | |
| authority_proof | No | Proof signed by the Authority's OWN npub (owner consent). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||