@smartkomm/plexus-cli 0.1.3 → 0.1.4
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
|
-
|
|
1
|
+
8e33119fb56e056acb65fdd91cd4829d6c512e5a9d49ae5d1c54a2b4b7c0e435
|
package/dist/skill/SKILL.md
CHANGED
|
@@ -168,6 +168,7 @@ whole is the operator's (ask them; do not try).
|
|
|
168
168
|
| [config/list-setup-exports.md](references/config/list-setup-exports.md) | Plattform | List a tenant's nightly and manual setup exports and show what changed between two of them. |
|
|
169
169
|
| [config/set-tenant-branding.md](references/config/set-tenant-branding.md) | Mandant + Plattform | Give the application portal colours, radius and fonts; upload logo and WOFF2 fonts (the `branding …` commands need the operator; a school uses `config apply`). |
|
|
170
170
|
| [config/set-tenant-terms.md](references/config/set-tenant-terms.md) | Plattform | Switch a school from „Bewerbung" to „Anmeldung" throughout with one setting. |
|
|
171
|
+
| [config/set-external-sign-in.md](references/config/set-external-sign-in.md) | Plattform | Choose how long the sign-in link in a school's letters works — once, N days, or without end. |
|
|
171
172
|
| [config/set-up-billing-catalog.md](references/config/set-up-billing-catalog.md) | Mandant + Plattform | Load articles, packages, reduction tiers and Word templates by stable keys (catalog plan/apply). |
|
|
172
173
|
| [config/update-tenant-config.md](references/config/update-tenant-config.md) | Mandant | Change the live config by export → edit → dry run → confirm. |
|
|
173
174
|
| [config/wipe-tenant-config.md](references/config/wipe-tenant-config.md) | Plattform | Empty one config target, optionally with dependent data, or take a tenant down. |
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Set how families sign in
|
|
2
|
+
|
|
3
|
+
**When to use:** a school decides how long the sign-in link in its letters
|
|
4
|
+
works — forever, for N days, or once (and then 12 hours signed in).
|
|
5
|
+
|
|
6
|
+
## What it is
|
|
7
|
+
|
|
8
|
+
`tenant.externalSignIn` in the tenant config, **required** in every config:
|
|
9
|
+
|
|
10
|
+
| Value | The link in a sign-in letter | A session it opens |
|
|
11
|
+
|---|---|---|
|
|
12
|
+
| `{ "mode": "oneTimeLink" }` | works once, 15 minutes; an old one says „abgelaufen" and offers a new one | ends 12 hours after sign-in |
|
|
13
|
+
| `{ "mode": "periodLink", "validDays": 7 }` | works as often as opened, for 1–90 days from the letter | 7 days, refreshed while used |
|
|
14
|
+
| `{ "mode": "permanentLink" }` | works as often as opened, without an end | 7 days, refreshed while used |
|
|
15
|
+
|
|
16
|
+
- „Sign-in letters" are the school's three: access sent from the cockpit
|
|
17
|
+
(`applicant.accessSent`), „Link anfordern" in the portal (`applicant.magicLink`)
|
|
18
|
+
and the parked-draft letter. „Link kopieren" in the cockpit is always a
|
|
19
|
+
one-time link; the login page's link (`/login`) too.
|
|
20
|
+
- An account at several schools follows the **strictest** of them.
|
|
21
|
+
- A switch acts at once: an access link is checked against the mode in force
|
|
22
|
+
when it is OPENED (a switch to `oneTimeLink` retires all of them), and every
|
|
23
|
+
open session meets the new 12-hour limit within 15 minutes (the Convex token
|
|
24
|
+
lifetime).
|
|
25
|
+
- Data-protection view: a one-time link ties a sign-in to the mailbox owner at
|
|
26
|
+
that moment; a reusable link can be opened by whoever holds the mail. Choose
|
|
27
|
+
`oneTimeLink` where a submission must be attributable to one person.
|
|
28
|
+
|
|
29
|
+
## Set it (dry run first)
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
plexus-cli --env staging config set --tenant <slug> --target tenant \
|
|
33
|
+
--key <slug> --field externalSignIn --value '{"mode":"periodLink","validDays":7}'
|
|
34
|
+
plexus-cli --env staging config set --tenant <slug> --target tenant \
|
|
35
|
+
--key <slug> --field externalSignIn --value '{"mode":"periodLink","validDays":7}' --confirm
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
A wrong shape is refused (`[auth/externalSignIn]`). Platform-owned: a school's
|
|
39
|
+
own administrator cannot change it.
|
|
40
|
+
|
|
41
|
+
## Verify
|
|
42
|
+
|
|
43
|
+
- Platform → „Mandanten" → the school → Bewerbungsmanagement → „Anmeldung für
|
|
44
|
+
Familien" shows the config spelling (`oneTimeLink`, `periodLink, validDays 7`, …).
|
|
45
|
+
- Send yourself „Zugang versenden → Per Mail senden" on a test application: the
|
|
46
|
+
letter says „Der Link gilt 15 Minuten" / „7 Tage" / „unbefristet".
|
|
47
|
+
|
|
48
|
+
## Gotchas
|
|
49
|
+
|
|
50
|
+
- A reusable link in a forwarded mail signs in whoever opens it — the cockpit's
|
|
51
|
+
„Zugangslinks sperren" ends every access link of that family at the school.
|
|
52
|
+
- Access links also end when the account gains reach (another school, staff
|
|
53
|
+
rights) or its login address is changed by someone else.
|