docs(readme): document authentication and RBAC
This commit is contained in:
@@ -140,3 +140,4 @@ TarninaHub/
|
|||||||
- Błędy: `ProblemDetails` (RFC 7807), globalny handler wyjątków.
|
- Błędy: `ProblemDetails` (RFC 7807), globalny handler wyjątków.
|
||||||
- Healthcheck: `GET /api/health` (bez wersji, dla infrastruktury).
|
- Healthcheck: `GET /api/health` (bez wersji, dla infrastruktury).
|
||||||
- Migracje SurrealQL są aplikowane automatycznie przy starcie (katalog `migrations/`).
|
- 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`).
|
||||||
|
|||||||
Reference in New Issue
Block a user