Commit Graph
4 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 3fadfebbb0 fix: portal user headers only from the portal's service client
ci / shared (pull_request) Successful in 30s
ci / test (pull_request) Successful in 25m30s
ci / image (pull_request) Skipped
X-Portal-User-Subject and X-Portal-User-Email named the acting person for
any service client. Any tenants.read client (werkmeister-svc, pruefwerk-svc,
firmwerk-svc) could thereby set the audit actor of a document download, and
a future tenants.write client could act in a user's name on the team routes.

portalUser honours the headers only from a client that holds the users
group (group users.act, satisfied by the existing users grant: only the
portal's service client in stage and prod), as staffActor does for
X-Staff-*. A user token speaks for itself and the headers are ignored.
Used by teamActor, projectActor/projectActorType, the document download
audit and the trial extension. No AUTHZ_RULES change is needed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014aRnCGqELxoix5TfpX8Ejf
2026-10-26 21:12:39 +01:00
sharangandClaude Opus 5.5 1f6236a754 feat(members): team management: role, block, remove, revoke, resend (#64)
ci / shared (push) Successful in 12s
ci / test (push) Successful in 24m46s
ci / image (push) Successful in 33s
portal#74: PATCH/DELETE /v1/tenants/{id}/members/{uid}, POST .../resend and the staff variants; per-workspace block via org_blocked, session logout, last-admin and self guards, audit events.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-10-05 18:43:31 +00:00
sharangandClaude Opus 5.5 60f20e6419 feat(trial): legal trial signup: offer, confirmation, activation (#58)
ci / shared (push) Successful in 13s
ci / test (push) Successful in 23m58s
ci / image (push) Successful in 36s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-09-30 16:00:52 +00:00
sharang 54e9f6a720 feat(admin): staff tenant list, detail, trial extension, invite resend (#33)
ci / shared (push) Successful in 11s
ci / test (push) Successful in 22m43s
ci / image (push) Successful in 44s
2026-09-23 19:57:59 +00:00