The first entry of a company's role and authority dataset (only the management holders, nothing else) moves from the OWNER sign-in role to CXO.
Why
No tenant has an OWNER user. Every tenant's first admin is IT_ADMIN, and the portal cannot assign OWNER, so nobody could start the dataset on stage.
Decided by Sharang (S0 spec Q3): the first entry belongs to CXO, the management sign-in role.
IT_ADMIN, the technical admin, does not name management.
Every later change follows the dataset's own rule (B7: management and document owners).
Change
roles.BootstrapRole = "CXO" replaces OwnerRole; the error message and the OpenAPI text are updated.
Tests: the bootstrap is refused for IT_ADMIN, OWNER, LEGAL and USER, and through the API for an IT_ADMIN token. The lifecycle test bootstraps with a CXO token.
The first entry of a company's role and authority dataset (only the management holders, nothing else) moves from the `OWNER` sign-in role to **`CXO`**.
### Why
- No tenant has an `OWNER` user. Every tenant's first admin is `IT_ADMIN`, and the portal cannot assign `OWNER`, so nobody could start the dataset on stage.
- Decided by Sharang (S0 spec Q3): the first entry belongs to `CXO`, the management sign-in role.
- `IT_ADMIN`, the technical admin, does not name management.
- Every later change follows the dataset's own rule (B7: management and document owners).
### Change
- `roles.BootstrapRole = "CXO"` replaces `OwnerRole`; the error message and the OpenAPI text are updated.
- Tests: the bootstrap is refused for `IT_ADMIN`, `OWNER`, `LEGAL` and `USER`, and through the API for an `IT_ADMIN` token. The lifecycle test bootstraps with a `CXO` token.
Stage only.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_014aRnCGqELxoix5TfpX8Ejf
Until a company has recorded its management, the first entry (the
management holders and nothing else) was reserved to the OWNER sign-in
role. No tenant has an OWNER user: every tenant's first admin is
IT_ADMIN, and the portal cannot assign OWNER, so nobody could start the
dataset. Decided by Sharang: the first entry belongs to CXO, the
management sign-in role. IT_ADMIN, the technical admin, does not name
management; every later change follows the dataset's own rule (B7).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014aRnCGqELxoix5TfpX8Ejf
sharang
merged commit 4dd1179ca4 into main2026-10-26 22:48:21 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The first entry of a company's role and authority dataset (only the management holders, nothing else) moves from the
OWNERsign-in role toCXO.Why
OWNERuser. Every tenant's first admin isIT_ADMIN, and the portal cannot assignOWNER, so nobody could start the dataset on stage.CXO, the management sign-in role.IT_ADMIN, the technical admin, does not name management.Change
roles.BootstrapRole = "CXO"replacesOwnerRole; the error message and the OpenAPI text are updated.IT_ADMIN,OWNER,LEGALandUSER, and through the API for anIT_ADMINtoken. The lifecycle test bootstraps with aCXOtoken.Stage only.
🤖 Generated with Claude Code
https://claude.ai/code/session_014aRnCGqELxoix5TfpX8Ejf