docs(readme): document authentication and RBAC

This commit is contained in:
Rafał Tyński
2026-10-04 02:12:00 +02:00
parent 5d3be19ca8
commit 58cc2e4096
+1
View File
@@ -140,3 +140,4 @@ TarninaHub/
- Błędy: `ProblemDetails` (RFC 7807), globalny handler wyjątków.
- Healthcheck: `GET /api/health` (bez wersji, dla infrastruktury).
- Migracje SurrealQL są aplikowane automatycznie przy starcie (katalog `migrations/`).
- Uwierzytelnianie: JWT Bearer (`POST /api/auth/signup`, `POST /api/auth/signin`), role `user`/`jst`/`operator`/`manager`/`admin` i polityki RBAC. Hasła (Argon2) i zgody w SurrealDB; różne poziomy dostępu (`by-consent`/`temporary`/`anonymized`) + rejestr odczytu (`audit_log`).