MeshDD-Bot/config/config.yaml
ppfeiffer c443a9f26d feat(auth): Rolle Mitarbeiter + Einladungs-Workflow (closes #7)
- Rollensystem: Public → Mitarbeiter → Admin (Rolle user entfällt)
- DB-Migration: must_change_password-Spalte, user→mitarbeiter
- require_staff_api(): erlaubt mitarbeiter + admin
- POST /api/admin/invite: Einladung mit auto-generiertem Passwort + E-Mail
- POST /auth/change-password: Pflicht-Passwortwechsel
- Login: force_password_change-Redirect
- Sidebar: sidebar-staff für Scheduler/NINA/Einstellungen
- Scheduler/NINA: read-only für Mitarbeiter

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-20 22:51:06 +01:00

36 lines
614 B
YAML

version: "0.08.26"
bot:
name: "MeshDD-Bot"
command_prefix: "?"
meshtastic:
host: "192.168.11.4"
port: 4403
web:
host: "0.0.0.0"
port: 8081
online_threshold: 900
database:
path: "data/meshdd.db"
auth:
session_max_age: 86400
secret_key: "4pY1h4S/pqpTojjPb7LV6TfaTZC8jas/DV3vixXIP8s="
smtp:
host: "ssl0.ovh.net"
port: 465
user: "info@meshdresden.eu"
password: "meshDresden"
from: "MeshDD-Bot <info@meshdresden.eu>"
app_url: "http://bot.home.pfeiffer-privat.de"
links:
- url: "https://meshtastic.org"
label: "Meshtastic"
- url: "https://meshmap.net"
label: "MeshMap"