Meilenstein 2: Verbindungs-API und Dashboard

- CRUD-API /api/connections mit Filter nach Sichtbarkeit und Typ
- Sichtbarkeit: privat nur für Besitzer (sonst 404), team für alle bearbeitbar;
  nur der Besitzer darf team auf privat setzen
- Strenge serverseitige Prüfung von Ziel, Port, Benutzer und URL
- Dashboard mit Kacheln nach Typ, Filter Alle/Privat/Team, Suche,
  Dialog zum Anlegen/Bearbeiten, Links itrdp:// und itssh://
- Tests für Validierung und Sichtbarkeitslogik, SETUP.md ergänzt

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dbildhauerandClaude Opus 5.5 committed 2026-11-20 20:44:48 +01:00
1 parent 293367f33e
commit 2e89c4ad59
10 files changed
+816 -30

No files matched your search

+2 -1
View File
@@ -7,7 +7,7 @@ from fastapi.staticfiles import StaticFiles
from .config import PROJEKT_ROOT
from .db import init_db
from .routes import auth_routes
from .routes import auth_routes, connections
@asynccontextmanager
@@ -33,6 +33,7 @@ async def sicherheits_header(request, call_next):
app.include_router(auth_routes.router)
app.include_router(connections.router)
# Frontend zuletzt einhängen, damit /api/* Vorrang hat
app.mount("/", StaticFiles(directory=PROJEKT_ROOT / "frontend", html=True), name="frontend")