@smartkomm/plexus-cli 0.1.35 → 0.1.37
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.
- package/README.md +14 -5
- package/dist/cli.mjs +193 -164
- package/dist/skill/.managed-by-plexus-cli +1 -1
- package/dist/skill/SKILL.md +1 -1
- package/dist/skill/references/retention/erase-due-applications.md +35 -6
- package/dist/skill/references/users/cli-access-for-tenant-admin.md +10 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -70,7 +70,7 @@ pnpm dev -- <command> [...flags] # = node --import tsx cli.ts
|
|
|
70
70
|
pnpm build # → dist/cli.mjs (the published bundle), version <floor>-dev+<commit>
|
|
71
71
|
pnpm link:global # (primary checkout only) frozen install + build + symlink the global binary
|
|
72
72
|
pnpm typecheck # tsc against the live backend (build-from-truth gate)
|
|
73
|
-
pnpm test # node --import tsx --test (
|
|
73
|
+
pnpm test # node --import tsx --test (from app/: `pnpm test:cli` — same files, capped and recordable)
|
|
74
74
|
pnpm spec # regenerate spec.snapshot.json from the code (no backend)
|
|
75
75
|
```
|
|
76
76
|
|
|
@@ -939,16 +939,25 @@ The local rdu admin key does **not** satisfy the gate — use a token even local
|
|
|
939
939
|
`.manage` (part of the derived `tenant_admin`; held tenant-wide) open `config export`, `config apply`,
|
|
940
940
|
`config set` and `config targets --tenant` for **that tenant only**. A tenant-scoped apply
|
|
941
941
|
is refused (`FORBIDDEN`, naming the field) when it would create a tenant, use
|
|
942
|
-
`--from blueprint`, pass `--allow-destructive`, change a platform-owned setting —
|
|
943
|
-
`tenant.*` key
|
|
944
|
-
`
|
|
942
|
+
`--from blueprint`, pass `--allow-destructive`, change a platform-owned setting — a
|
|
943
|
+
`tenant.*` key such as `enabledModules`, `mailLevel`, `magicLinkLogin`, `externalSignIn`,
|
|
944
|
+
`adminSeesSignatureImages`, `bankImportScope`, or the import `source`
|
|
945
945
|
— name a `foundation.users` address that is not an active member with a login, or put a
|
|
946
946
|
`_platform.*` right in a group; changing groups needs `administration.permissions.manage`,
|
|
947
947
|
changing `foundation.users` needs `administration.users.manage`, and giving, moving or taking a
|
|
948
948
|
user's group there (a user new to the config, `permissionGroupKey`, `unitKey`, validity,
|
|
949
949
|
`additionalMemberships`) needs `administration.permissions.manage` as well, for every scope
|
|
950
950
|
the change touches (a tenant-wide membership needs it tenant-wide, one in a unit for that unit
|
|
951
|
-
or tenant-wide) — the rule the Rechteverwaltung asks.
|
|
951
|
+
or tenant-wide) — the rule the Rechteverwaltung asks. The school's own `tenant.*` keys are
|
|
952
|
+
`branding`, `brandingAssets`, `notificationChrome`, `terms`, `retentionDays`, `nationalityFlag`,
|
|
953
|
+
`admissionFieldDisplayGroupKey`, `defaultStartInProxy` and `hideMailLevelNotice`;
|
|
954
|
+
`retentionDays` also needs `bewerbungsmanagement.applications.manage`, `partyRetention`
|
|
955
|
+
`stammdaten.parties.delete` and `defaultApplicantGroupKey`
|
|
956
|
+
`administration.permissions.manage` (removing it stays the platform's), the rights their
|
|
957
|
+
in-app twins ask. `tenant.retentionDays` sets how long ended applications are kept, per
|
|
958
|
+
classification, in whole days from 30 to 3650 (absent = the platform defaults):
|
|
959
|
+
`config set --target tenant --key <slug> --field retentionDays --value '{"rejected":365}'`.
|
|
960
|
+
`wipe`, `prune-offers`, `--scope platform` and setup mode
|
|
952
961
|
stay platform-only. Recipe:
|
|
953
962
|
[playbooks/users/cli-access-for-tenant-admin.md](./playbooks/users/cli-access-for-tenant-admin.md).
|
|
954
963
|
|