@smartkomm/plexus-cli 0.1.32 → 0.1.34

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.
Files changed (33) hide show
  1. package/README.md +50 -24
  2. package/dist/cli.mjs +1382 -1023
  3. package/dist/skill/.managed-by-plexus-cli +1 -1
  4. package/dist/skill/SKILL.md +26 -16
  5. package/dist/skill/references/audit/answer-access-request.md +2 -2
  6. package/dist/skill/references/commands.md +1072 -742
  7. package/dist/skill/references/config/init-tenant.md +4 -4
  8. package/dist/skill/references/config/platform-setup-export.md +2 -2
  9. package/dist/skill/references/notifications/debug-mail-delivery.md +8 -8
  10. package/dist/skill/references/notifications/reword-a-letter.md +2 -2
  11. package/dist/skill/references/notifications/trace-a-login.md +2 -2
  12. package/dist/skill/references/offer/assignment-rule.md +5 -5
  13. package/dist/skill/references/offer/task-result-files.md +1 -1
  14. package/dist/skill/references/persons/purge-deleted-person.md +2 -2
  15. package/dist/skill/references/resolver/register-input-keys.md +7 -7
  16. package/dist/skill/references/retention/erase-due-parties.md +3 -3
  17. package/dist/skill/references/signing/connect-a-school.md +3 -3
  18. package/dist/skill/references/signing/rotate-the-key.md +3 -3
  19. package/dist/skill/references/users/add-platform-admin.md +8 -8
  20. package/dist/skill/references/users/add-platform-user.md +2 -2
  21. package/dist/skill/references/users/add-tenant-admin.md +6 -6
  22. package/dist/skill/references/users/change-login-email.md +6 -6
  23. package/dist/skill/references/users/cli-access-for-tenant-admin.md +2 -2
  24. package/dist/skill/references/users/delete-permission-group.md +3 -3
  25. package/dist/skill/references/users/grant-cross-tenant-access.md +6 -6
  26. package/dist/skill/references/users/grant-feedback-assignable.md +4 -4
  27. package/dist/skill/references/users/manage-school-users.md +19 -2
  28. package/dist/skill/references/users/set-password.md +10 -10
  29. package/dist/skill/references/users/set-staff-config-key.md +70 -0
  30. package/dist/skill/references/users/use-test-account.md +2 -2
  31. package/dist/skill/references/worker-ops/debug-worker-jobs.md +7 -7
  32. package/dist/spec.snapshot.json +1 -1
  33. package/package.json +1 -1
@@ -1 +1 @@
1
- b038cd25756875b0c1a62ce88fd1644f29caf83525fd40a7c6987c25632b19ea
1
+ 61c290e371b0fa98a247559cf6e15b83e499adde8bbebfbc277078b3a60c8f14
@@ -113,17 +113,26 @@ Copy those values unchanged from `config export`. Changing them is the operator'
113
113
  job.
114
114
 
115
115
  These need the **platform operator** (a `_platform.*` right). Ask them; do not
116
- try: creating, onboarding or wiping a tenant (`config wipe`, `config prune-offers`,
117
- `config apply --scope platform`), `offer delete` (the hard delete), the settings listed above,
118
- the `branding …` and `files put|delete` commands (a school sets its branding and
119
- library files through `config apply` or in the app), issuing a token for someone
120
- else (`tokens create --for`), every `users` command except `users groups`
121
- (the school manages its own people with `tenant-users …` and changes memberships in
122
- the app or through `foundation.users`), the mail
123
- delivery monitor (`notifications list|show|retry|self-test`), Stripe Connect and
124
- e-signature connections, contract resolvers (contract logic is platform code),
125
- retention runs, feedback triage, worker jobs and migrations. A command without
126
- the right answers with a refusal. It never makes a partial change.
116
+ try: everything under `platform …` (accounts across tenants, workers, the mail
117
+ delivery monitor, cross-tenant imports, the hard delete of a person, signing
118
+ connection set-up and key slots, the contract input-key registry), the
119
+ `feedback`, `demo`, `setup`, `retention`, `jobs`, `audit` and `branding …`
120
+ commands, `files put|delete` (a school sets its branding and library files
121
+ through `config apply` or in the app), creating, onboarding or wiping a tenant
122
+ (`config wipe`, `config prune-offers`, `config apply --scope platform`),
123
+ `offer delete` (the hard delete), the settings listed above and issuing a token
124
+ for someone else (`tokens create --for`). Every command's right is in
125
+ [commands.md](references/commands.md) (**Right:**) and in its `--help`
126
+ category. A command without the right answers with a refusal. It never makes a
127
+ partial change.
128
+
129
+ The school's own token runs: offers, applications and test runs, letters,
130
+ `config apply` of its own config, `tenant-users …` and `users groups|set-group|unset-group`,
131
+ contract generators and packages (`generator …` except `input-key`, needing
132
+ `finanzen_vertraege.contracts.manage`), and Stripe Connect (`stripe …`): a
133
+ school connects its own Stripe account — a platform account is refused there.
134
+ E-signature connections are the other way round: `signing connection show|test`
135
+ is the school's, setting one up (`platform signing connection …`) is the operator's.
127
136
 
128
137
  ## Setting up a school
129
138
 
@@ -189,7 +198,7 @@ whole is the operator's (ask them; do not try).
189
198
  | [offer/add-workflow-node.md](references/offer/add-workflow-node.md) | Mandant | Insert a node (approval, form, contract, collectPayment, end …) into the workflow. |
190
199
  | [offer/addresses.md](references/offer/addresses.md) | Mandant | How a node reads by full address ($node…, $task…, $derived…, $env…), which flag sets which field, and the gate codes. |
191
200
  | [offer/appointment-task.md](references/offer/appointment-task.md) | Mandant | Give a booked appointment its appointment task (held by the host, due N days after the end). |
192
- | [offer/assignment-rule.md](references/offer/assignment-rule.md) | Mandant + Plattform | Change, test and publish who is responsible per slot; replace a person who leaves (`users unset-group` needs the operator; a school removes the membership in the app). |
201
+ | [offer/assignment-rule.md](references/offer/assignment-rule.md) | Mandant + Plattform | Change, test and publish who is responsible per slot; replace a person who leaves (`tenant-users groups revoke`). |
193
202
  | [offer/attach-form-to-workflow.md](references/offer/attach-form-to-workflow.md) | Mandant | Bind an existing or new SmartForm to a form node. |
194
203
  | [offer/author-form-scenarios.md](references/offer/author-form-scenarios.md) | Mandant | Add a form's test scenarios and $env variables. |
195
204
  | [offer/author-manifest-meta.md](references/offer/author-manifest-meta.md) | Mandant | Set the selection config and display order of an offer. |
@@ -199,7 +208,7 @@ whole is the operator's (ask them; do not try).
199
208
  | [offer/countersign-node.md](references/offer/countersign-node.md) | Mandant + Plattform | Add the school's countersignature of the contract (needs a sealed contract resolver). |
200
209
  | [offer/create-pedagogy-unit.md](references/offer/create-pedagogy-unit.md) | Mandant | Make a unit something families can apply to. |
201
210
  | [offer/declare-node-reads.md](references/offer/declare-node-reads.md) | Mandant + Plattform | Declare which form fields a document node reads and locks. |
202
- | [offer/edit-live-tenant-offer.md](references/offer/edit-live-tenant-offer.md) | Mandant + Plattform | Change a live offer: fresh export → change → plan → apply → plan shows all same (resolver and signing steps need the operator). |
211
+ | [offer/edit-live-tenant-offer.md](references/offer/edit-live-tenant-offer.md) | Mandant + Plattform | Change a live offer: fresh export → change → plan → apply → plan shows all same (signing connection steps need the operator). |
203
212
  | [offer/edit-smartform.md](references/offer/edit-smartform.md) | Mandant | Change a SmartForm in detail (properties, order, English texts). |
204
213
  | [offer/edit-workflow-node.md](references/offer/edit-workflow-node.md) | Mandant | Rename, rewire, rebind or reroute a node. |
205
214
  | [offer/engage-push-node.md](references/offer/engage-push-node.md) | Mandant + Plattform | Insert the Engage transfer node that pushes an accepted application to Engage SMIS once. |
@@ -218,7 +227,7 @@ whole is the operator's (ask them; do not try).
218
227
  | [offer/workflow-default-channels.md](references/offer/workflow-default-channels.md) | Mandant | Fixed team chat channels for every application of an offer. |
219
228
  | [persons/purge-deleted-person.md](references/persons/purge-deleted-person.md) | Plattform | Delete a soft-deleted person for good. |
220
229
  | [resolver/manage-contract-package.md](references/resolver/manage-contract-package.md) | Mandant + Plattform | Create, review and seal a contract package from one file by key. |
221
- | [resolver/manage-contract-resolver.md](references/resolver/manage-contract-resolver.md) | Plattform | Create, test, seal, assign and revise a contract resolver. |
230
+ | [resolver/manage-contract-resolver.md](references/resolver/manage-contract-resolver.md) | Mandant | Create, test, seal, assign and revise a contract resolver. |
222
231
  | [resolver/register-input-keys.md](references/resolver/register-input-keys.md) | Plattform | Register the platform-wide contract input keys a generator's fields need. |
223
232
  | [retention/erase-due-applications.md](references/retention/erase-due-applications.md) | Plattform | Erase applications past their retention period (retention plan/apply). |
224
233
  | [retention/erase-due-parties.md](references/retention/erase-due-parties.md) | Plattform | Hard-delete persons the school's deletion rule has reached (retention parties plan/apply). |
@@ -226,7 +235,7 @@ whole is the operator's (ask them; do not try).
226
235
  | [signing/README.md](references/signing/README.md) | Mandant | Send a contract revision for e-signature, reconcile, withdraw, remind (connecting the provider is Plattform). |
227
236
  | [signing/connect-a-school.md](references/signing/connect-a-school.md) | Plattform | Connect a school to its own DocuSign or inSign account. |
228
237
  | [signing/rotate-the-key.md](references/signing/rotate-the-key.md) | Plattform | Rotate the signing credentials key and reseal every connection. |
229
- | [stripe/connect-a-school.md](references/stripe/connect-a-school.md) | Plattform | Connect a school to its own Stripe account. |
238
+ | [stripe/connect-a-school.md](references/stripe/connect-a-school.md) | Mandant | Connect a school to its own Stripe account. |
230
239
  | [stripe/request-and-verify-a-payment.md](references/stripe/request-and-verify-a-payment.md) | Mandant | Request a Stripe payment through call and follow it to succeeded (needs a connected school). |
231
240
  | [test-actions/drive-a-test-application.md](references/test-actions/drive-a-test-application.md) | Mandant | Play a test application through with test-mode actions. |
232
241
  | [users/add-platform-admin.md](references/users/add-platform-admin.md) | Plattform | Create a tenant-less platform admin with a login. |
@@ -235,7 +244,8 @@ whole is the operator's (ask them; do not try).
235
244
  | [users/change-login-email.md](references/users/change-login-email.md) | Plattform | Change an account's sign-in address. |
236
245
  | [users/cli-access-for-tenant-admin.md](references/users/cli-access-for-tenant-admin.md) | Mandant + Plattform | Give a school's administrator a CLI token for exactly their tenant (minting it themselves suffices; issuing it for them with `tokens create --for` needs the operator). |
237
246
  | [users/delete-permission-group.md](references/users/delete-permission-group.md) | Mandant | Delete an orphaned permission group. |
238
- | [users/manage-school-users.md](references/users/manage-school-users.md) | Mandant | List, invite, deactivate (with handover), archive and reactivate the school's users; send a sign-in or password-reset link, switch their mail categories, ask for a signature (`tenant-users …`). |
247
+ | [users/manage-school-users.md](references/users/manage-school-users.md) | Mandant | List, invite, deactivate (with handover), archive and reactivate the school's users; send a sign-in or password-reset link, switch their mail categories, ask for a signature, give or take groups (`tenant-users …`). |
248
+ | [users/set-staff-config-key.md](references/users/set-staff-config-key.md) | Mandant | Give a staff member the config key rules and the configuration name them by (`tenant-users set-key`, `invite --key`). |
239
249
  | [users/grant-cross-tenant-access.md](references/users/grant-cross-tenant-access.md) | Plattform | Give every user of every tenant access to the test tenant. |
240
250
  | [users/grant-feedback-assignable.md](references/users/grant-feedback-assignable.md) | Plattform | Make a platform admin assignable for feedback. |
241
251
  | [users/set-password.md](references/users/set-password.md) | Plattform | Set or regenerate an existing user's password. |
@@ -20,7 +20,7 @@ anlassbezogene misuse check ("what did this employee open?").
20
20
  - `_platform.audit.readActor` — **only** for `--with-actor` / `--actor`. It is an
21
21
  **opt-in** right, deliberately excluded from the default full-admin grant; grant it
22
22
  with
23
- `plexus-cli --env <env> users set-platform-permission <email> --permission _platform.audit.readActor --on`.
23
+ `plexus-cli --env <env> platform users set-platform-permission <email> --permission _platform.audit.readActor --on`.
24
24
  - The **application id** (`j…` Convex id). Two ways to get one:
25
25
  - from the cockpit URL of the Vorgang, or
26
26
  - `plexus-cli --env <env> call admission:list client=<slug> paginationOpts='{"numItems":25,"cursor":null}' --json`
@@ -111,5 +111,5 @@ take the absence of an error on step 1 as the confirmation.
111
111
  Protokollierungskonzept — ask the platform operator.
112
112
  - Granting the opt-in actor right: [Add a platform user](../users/add-platform-user.md) ·
113
113
  [Make a platform admin assignable to feedback](../users/grant-feedback-assignable.md)
114
- (same `users set-platform-permission` mechanism).
114
+ (same `platform users set-platform-permission` mechanism).
115
115
  - Command reference: `plexus-cli audit access --help`.