Migration 0074: organizations.org_wlan (Optionen der Rolle, Passwort
verschlüsselt). GET/PUT /api/v1/organizations/{id}/org-wlan; im
Auftragskatalog gilt es für org-wlan, solange OE/Gruppe nichts festlegt.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
17 lines
671 B
PL/PgSQL
17 lines
671 B
PL/PgSQL
BEGIN;
|
|
|
|
-- Einstieg vereinfachen, Schritt 2 (platform-docs roadmap/einstieg-
|
|
-- vereinfachen.md, 25.10.2026): Das WLAN der Organisation ist eine
|
|
-- Einstellung der Organisation, nicht mehr nur das WLAN vom
|
|
-- Installationsmedium. Alle Geräte bekommen es über die Rolle org-wlan,
|
|
-- auch per Kabel installierte (Befund Liebherr-83, 14.10.2026).
|
|
--
|
|
-- Form wie die Merkmal-Optionen der Rolle: {"wlan_ssid", "wlan_passwort"}
|
|
-- mit "enc:"-verschlüsseltem Passwort (encrypt_sensitive_optionen); NULL =
|
|
-- kein WLAN der Organisation. Ein am Merkmal "Org-WLAN" (OE/Gruppe)
|
|
-- gesetzter Wert hat weiter Vorrang.
|
|
|
|
ALTER TABLE organizations ADD COLUMN org_wlan JSONB;
|
|
|
|
COMMIT;
|