@smartkomm/plexus-cli 0.1.34 → 0.1.35
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 +3 -5
- package/dist/cli.mjs +40 -40
- package/dist/skill/.managed-by-plexus-cli +1 -1
- package/dist/skill/SKILL.md +3 -5
- package/dist/skill/references/commands.md +25 -28
- package/dist/skill/references/config/attach-a-template.md +7 -2
- package/dist/skill/references/config/set-tenant-branding.md +6 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -214,15 +214,13 @@ the category (`Users (platform operator)`, `Offer (school token)`) and as a
|
|
|
214
214
|
|
|
215
215
|
| Scope | Who runs it | Where it lives |
|
|
216
216
|
|---|---|---|
|
|
217
|
-
| **platform operator** | a token with a `_platform.*` right; a school's token is refused | `platform …`, or a group that is the operator's as a whole: `feedback`, `demo`, `setup`, `retention`, `jobs`, `audit
|
|
218
|
-
| **school token** | a module permission inside one school — the school's own administrator (`--tenant <slug>`) | every other group: `offer`, `applications`, `config`, `tenant-users`, `users groups\|set-group\|unset-group`, `notifications letters\|chrome`, `org`, `catalog`, `generator` (not `input-key`), `stripe`, `signing list\|start\|show\|void\|resend\|reconcile`, `signing connection show\|test`, … |
|
|
217
|
+
| **platform operator** | a token with a `_platform.*` right; a school's token is refused | `platform …`, or a group that is the operator's as a whole: `feedback`, `demo`, `setup`, `retention`, `jobs`, `audit` |
|
|
218
|
+
| **school token** | a module permission inside one school — the school's own administrator (`--tenant <slug>`) | every other group: `offer`, `applications`, `config`, `branding`, `files`, `tenant-users`, `users groups\|set-group\|unset-group`, `notifications letters\|chrome`, `org`, `catalog`, `generator` (not `input-key`), `stripe`, `signing list\|start\|show\|void\|resend\|reconcile`, `signing connection show\|test`, … |
|
|
219
219
|
| **own account** | any signed-in token | `whoami`, `tenants`, `tokens …`, `call` (the called function's own gate decides) |
|
|
220
220
|
| **offline** | no deployment | `functions`, `describe`, `offer validate`, the bundle editors |
|
|
221
221
|
|
|
222
222
|
So the path tells a school administrator whether a command is theirs: nothing
|
|
223
|
-
under `platform …` is, and no other group mixes the two
|
|
224
|
-
(`files list` is the school's; `files put|delete` reach only the platform's
|
|
225
|
-
functions — a school adds files through `config apply` or the app). Two
|
|
223
|
+
under `platform …` is, and no other group mixes the two. Two
|
|
226
224
|
commands have a platform branch behind a flag: `tokens create --for <email>`
|
|
227
225
|
and `accounts email-changes --user <address>`. `commandScope.test.ts` holds this:
|
|
228
226
|
it reads the `gate:` of every backend function a command calls, and fails when
|