mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-10 19:37:08 +02:00
- Fold Allowed into Expand and drop the ErrInsufficientScope sentinel; the gate's scopeError is now the only source of insufficient_scope. - Replace the two-value authKind with a public flag, inline loadUser, and pass the grant to touch. - Read a declared request body once before validation, so the JSON checks and the handler no longer depend on kin-openapi restoring the exact bytes. - Merge the Service tests into one file and drop specs that only covered the removed liveness cache. The revoked-during-password-change spec now revokes after the gate authenticates, so it reaches ChangePassword again. Signed-off-by: Deluan <deluan@navidrome.org> |
||
|---|---|---|
| .. | ||
| apiauth_suite_test.go | ||
| context.go | ||
| credentials.go | ||
| credentials_test.go | ||
| db_test.go | ||
| export_test.go | ||
| scopes.go | ||
| scopes_test.go | ||
| secret.go | ||
| secret_test.go | ||
| service.go | ||
| service_test.go | ||