feat: add resource access control with forwardAuth #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/resource-access"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
forwardAuth: allow/deny rules, organization SSO, shared password, shared PIN, and share linksfeat/core-routing); this PR targets that branch so the diff shows only the access work. Retarget tomainonce #2 is merged.Changes
..,//, backslashes); a non-canonical path never matches an allow rule; deny rules ignore ASCII caseRemote-User/Remote-Emailto the backend; Traefik removes client-sent copiesTRAEFIK_CONTROL_AUTH_URL,TRAEFIK_CONTROL_TRUST_PROXY; README documents the model and its caveatsVerification
mix format --check-formatted,mix compile --warnings-as-errors,mix credo --strict(no issues),mix dialyzer(0 errors): pass on SQLite and PostgreSQLmix test: 434 passed on SQLite and 434 on PostgreSQL/adminreturns 403 including/%61dmin,//admin,/x/../adminand/ADMIN; forgedRemote-*headers do not authenticateRemote-Email: dev@example.com; forgedRemote-User/Remote-Emailon a valid SSO session are replaced by the real identity; share link works without an account; revoking it ends the live session (302) and the link returns 404 while the SSO session is unaffected