[docs] Previews (the API for Fabrica, names, the token from the team vault), Ianitor anywhere (Linux, Docker, Windows Server in Caddy mode, NixOS), team sign-in in api.md, the Custos ticket's T4 part; release 0.2.0: the pipeline builds and tests the Linux tarball, the Windows zip and the image; the NixOS previews option; Docker and Linux smoke scripts
This commit is contained in:
+18
@@ -272,6 +272,24 @@ secret = "ui-proof" # listed in ianitor.toml: secrets = ["ui-proof"]
|
||||
Why not the Unix socket now: edge's upstreams are `host:port` in the schema; a socket upstream is a
|
||||
schema and compiler change in both engines, and the proof header needs neither.
|
||||
|
||||
## Team sign-in without Authelia (T4)
|
||||
|
||||
On a server without Authelia, people sign in with links (crates/control/src/team.rs):
|
||||
|
||||
- `ianitor-control team setup-link --config <c>` prints the first admin's link, `https://<admin host>/#signin=isc_…`
|
||||
(one use, 7 days, only while the team has nobody). The UI posts the code to `POST /api/v1/session` (no token; the
|
||||
`X-Ianitor-UI: 1` header and a same-origin page are required) and gets the `__Host-ianitor` cookie (HttpOnly,
|
||||
Secure, SameSite=Strict, 30 days).
|
||||
- Admins invite: `POST /api/v1/team/invites {name, role}` → `{link_fragment}` (Settings → Team → Invite).
|
||||
- `GET /api/v1/team`, `DELETE /api/v1/team/members/{id}` (the last admin stays), `PUT /api/v1/team/me/root`
|
||||
(your Tessera root), `POST /api/v1/session/end`.
|
||||
- A `member` gets `403 team.admin_only` on tokens, the team, the engine switch and the CA's renewal and requests.
|
||||
Browser writes need `X-Ianitor-UI: 1` (`403 request.csrf`).
|
||||
|
||||
## Branch previews (T4)
|
||||
|
||||
`/api/v1/previews`, and tokens with `"scope": "previews"` that may call nothing else: docs/previews.md.
|
||||
|
||||
## Certificates (the Domi CA)
|
||||
|
||||
Everything is in [pki.md](pki.md); the calls:
|
||||
|
||||
Reference in New Issue
Block a user