Commit Graph

5 Commits

Author SHA1 Message Date
f4620dff3a fix(backend): optional auth for share routes
Add auth.NewOptionalAuthMiddleware to run auth only when credentials are
present (Authorization header or auth cookies). Use it on share
consumption routes so public shares remain accessible unauthenticated,
while authenticated callers can resolve account-scoped shares. This
prevents a panic in share middleware when accountId was provided but the
request wasn’t authenticated (nil reqctx.AuthenticatedUser type
assertion).
2025-12-29 00:07:44 +00:00
fdfad036f8 fix(backend): CreateShare wrong common parent check 2025-12-28 23:43:17 +00:00
0e8c616489 docs(backend): document PATCH share endpoint 2025-12-28 19:06:51 +00:00
e3d78497e8 feat(backend): impl share expiry update 2025-12-28 19:01:53 +00:00
1a1fc4743a feat: initial sharing impl 2025-12-27 19:27:08 +00:00