@smartkomm/plexus-cli 0.1.16 → 0.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- cb3c97259e64d88091913224a34bd4ff7df83cbc7a0ea8e88514b56a09dbf91d
1
+ 1ed05b1d6d3b3105aed99411f816d92886682495715074569f573f8bb958f142
@@ -3158,28 +3158,28 @@ Read the login-address change log (who changed whose login address)
3158
3158
  |---|---|
3159
3159
  | `--user <value>` | An address the account holds or held (data-subject request) |
3160
3160
 
3161
- ### `users create <email>`
3161
+ ### `users archive <email>`
3162
3162
 
3163
- Create a tenant-less identity WITH a login account from just an e-mail (optionally a platform admin). Idempotent: an existing user is left untouched — no password is rotated. To (re)set a ready-to-log-in account with a name, group or permission set, use `users provision`.
3163
+ Archive a user everywhere: archive every school access (groups removed, one history entry per school; a school's last user administrator is refused), end every platform right; the identity and its history stay — plan unless --confirm.
3164
3164
 
3165
- - **Effect:** write — needs `--env`; on production also `--allow-prod`
3165
+ - **Effect:** plan by default — writes only with `--confirm` (and `--env`; on production also `--allow-prod`)
3166
3166
 
3167
3167
  | Option | Description |
3168
3168
  |---|---|
3169
- | `--out <value>` | Append the `email,password` row to this CSV file (created with a header; never overwritten). |
3170
- | `--quiet` | Do not echo the password to stdout (needs --out). |
3171
- | `--platform-admin` | Make the new user a platform admin (full _platform.* set). |
3169
+ | `--replace-with <value>` | configKey of the staff member who takes over their active applications — required while they are responsible for any. A rule naming them refuses regardless: change it first (workflow editor: „Person ersetzen“, then publish) |
3170
+ | `--confirm` | Archive (without it, only the plan is printed). |
3172
3171
 
3173
- ### `users deactivate <email>`
3172
+ ### `users create <email>`
3174
3173
 
3175
- Deactivate a user everywhere: revoke every tenant access, group membership and platform right; the identity and its history stay — plan unless --confirm.
3174
+ Create a tenant-less identity WITH a login account from just an e-mail (optionally a platform admin). Idempotent: an existing user is left untouched — no password is rotated. To (re)set a ready-to-log-in account with a name, group or permission set, use `users provision`.
3176
3175
 
3177
- - **Effect:** plan by default — writes only with `--confirm` (and `--env`; on production also `--allow-prod`)
3176
+ - **Effect:** write — needs `--env`; on production also `--allow-prod`
3178
3177
 
3179
3178
  | Option | Description |
3180
3179
  |---|---|
3181
- | `--replace-with <value>` | configKey of the staff member who takes over their active applications — required while they are responsible for any. A rule naming them refuses regardless: change it first (workflow editor: „Person ersetzen“, then publish) |
3182
- | `--confirm` | Deactivate (without it, only the plan is printed). |
3180
+ | `--out <value>` | Append the `email,password` row to this CSV file (created with a header; never overwritten). |
3181
+ | `--quiet` | Do not echo the password to stdout (needs --out). |
3182
+ | `--platform-admin` | Make the new user a platform admin (full _platform.* set). |
3183
3183
 
3184
3184
  ### `users doctor`
3185
3185
 
@@ -3267,7 +3267,7 @@ Relink a user's identity row to its live Better Auth account (heals an orphan).
3267
3267
 
3268
3268
  ### `users revoke <email>`
3269
3269
 
3270
- Revoke a user's access to the active tenant (--tenant) — plan unless --confirm. Other tenants keep it; `users deactivate` revokes everywhere.
3270
+ Revoke a user's access to the active tenant (--tenant) — plan unless --confirm. Other tenants keep it; `users archive` archives everywhere.
3271
3271
 
3272
3272
  - **Effect:** plan by default — writes only with `--confirm` (and `--env`; on production also `--allow-prod`)
3273
3273
 
@@ -132,7 +132,7 @@ a fixed person.
132
132
  ## A staff member leaves
133
133
 
134
134
  A person a rule names — as a row's person or in a „Reihum" pool — cannot leave the staff (`users revoke`, `users unset-group`,
135
- `users deactivate`), leave a team whose slot names them, and a team a rule has a slot
135
+ `users archive`), leave a team whose slot names them, and a team a rule has a slot
136
136
  for cannot be deleted — refused (`[CONFLICT] [assignment/ruleReferences] …`), naming offer
137
137
  (label + status), slot and row. The check reads every `wip` and published offer
138
138
  version (archived ones only run pinned test starts, which fail loud instead). Order: