Revalidate private API reads without weakening permissions #60
Labels
No labels
area/backend
area/frontend
area/tooling
kind
build
kind
chore
kind
ci
kind
docs
kind
feat
kind
perf
kind
test
size
l
size
m
size
s
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
#10 Generate and verify OpenAPI and the TypeScript client
viacheslavshuka/quorum
#54 Open Quorum on a filtered list of upcoming tests
viacheslavshuka/quorum
Reference
viacheslavshuka/quorum#60
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Conditional requests can reduce repeated transfer while users refresh session data. Cached representations must not bypass current authorization or time-dependent state.
Scope
Implement private conditional reads for a representative authenticated resource and the corresponding openapi-fetch/TanStack Query handling. Select cache details and lifetimes during implementation. Keep Redis outside this release.
Acceptance criteria
304 Not Modified. A revoked account cannot retain access through a matching validator.Varyhandling. A304response has no JSON body, and the client preserves the corresponding previously received data.Validation
Use two accounts, two workers, changed filters, revoked permissions, and a controlled clock. Check cold
200, matching304, post-write refresh, and time-only expiry. Verify the generated contract and client correctly handle bodyless304responses.Dependencies
Related work