Skip to main content

When the hub has one admin

The two-person rule needs a second person. A small organisation may start with one admin on its hub; until a second one joins, that sole admin acts alone, visibly and audited (sole admin):

  • the approver, admin and secret-admin bindings the sole admin creates are active at once, without a second admin's confirmation;
  • the sole admin approves their own change set for what nobody else may approve, such as the admin approval every change to sources/, policies/ or settings/ needs (approvals).

1. See that the hub has one admin​

Admin › Role bindings says so while it lasts ①:

Screenshot· Click image to enlarge
① This hub has one admin, Admin One; a second admin restores the two-person rule.

An admin who steps down removes their own binding. The hub refuses one admin removing another's binding when that would leave a sole admin.

2. Approve your own change set​

The review of the sole admin's own change set says what they may approve themselves ①; the change set offers Approve, but no Reject:

Screenshot· Click image to enlarge
The review of a change set adding an ApprovalPolicy: ① the notice.

The approval is recorded as the self-approval of the only admin, in the review and in the audit:

Screenshot· Click image to enlarge
① the self-approval; the change set can be merged.

excubioctl changeset submit names what the author may approve as the sole admin, excubioctl changeset approve N says whether an approval is a self-approval (command reference).

3. Add a second admin​

New binding with the role admin for another person ends it: the binding is active at once, the notice goes, new bindings wait for a second admin's confirmation again, and a self-approval no longer counts at the merge.