keep storage detail out of the matrix handbook
This commit is contained in:
parent
28d847cb7e
commit
9909e63c2d
2 changed files with 6 additions and 6 deletions
|
|
@ -136,11 +136,9 @@ each member not yet in `#admins:<server_name>` it sends
|
|||
lands on.
|
||||
|
||||
- **Leaving `admins` revokes what the sync granted.** The controller
|
||||
records each account it sends a grant for under the key `granted` of the
|
||||
`operator-matrix-admins` NATS KV bucket, which only the controller writes.
|
||||
An upgraded controller imports the old
|
||||
`/var/lib/swarm-controller/operator-matrix-admins.json` once and deletes it.
|
||||
When one of them is no longer in `admins` but still in `#admins`, it sends
|
||||
remembers each account it sends a grant for, across restarts and a lost
|
||||
state directory. When one of them is no longer in `admins` but still in
|
||||
`#admins`, it sends
|
||||
`!admin users force-leave-room @<name>:<server_name> <admin room id>`
|
||||
there as `@swarm`; leaving that room is what ends homeserver admin.
|
||||
- **Admins the sync didn't make keep admin.** An admin missing from that
|
||||
|
|
|
|||
|
|
@ -581,7 +581,9 @@ current admin in place; a key it can't parse stops the sync, grants
|
|||
included, and the controller logs `operator matrix admin: pass failed` on
|
||||
every pass. A controller that finds no key and an
|
||||
`operator-matrix-admins.json` in this directory imports the file into the
|
||||
key and deletes the file; the upgrade needs no manual step. See
|
||||
key and deletes the file; the upgrade needs no manual step. The
|
||||
controller writes the key against the revision it read, so a second pass or
|
||||
controller running at once fails instead of overwriting. See
|
||||
[matrix.md](../../2-handbook/swarm/matrix.md#operators-are-homeserver-admins).
|
||||
|
||||
Everything else here is rebuildable once the store holds the webhook secret:
|
||||
|
|
|
|||
Loading…
Reference in a new issue