Skip to content

Commit 91c7052

Browse files
committed
Docs: Update CODEMAP.md
Signed-off-by: Michael Mayer <[email protected]>
1 parent e93ceba commit 91c7052

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CODEMAP.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PhotoPrism — Backend CODEMAP
22

3-
**Last Updated:** October 28, 2025
3+
**Last Updated:** October 29, 2025
44

55
Purpose
66
- Give agents and contributors a fast, reliable map of where things live and how they fit together, so you can add features, fix bugs, and write tests without spelunking.
@@ -87,6 +87,7 @@ Database & Migrations
8787

8888
AuthN/Z & Sessions
8989
- Session model and cache: `internal/entity/auth_session*` and `internal/auth/session/*` (cleanup worker).
90+
- `internal/entity/auth_session_jwt.go` builds transient sessions from portal-issued JWTs; used by `internal/api/api_auth_jwt.go` when nodes authenticate portal requests.
9091
- ACL: `internal/auth/acl/*` — roles, grants, scopes; use constants; avoid logging secrets, compare tokens constant‑time; for scope checks use `acl.ScopePermits` / `ScopeAttrPermits` instead of rolling your own parsing.
9192
- OIDC: `internal/auth/oidc/*`.
9293

0 commit comments

Comments
 (0)