You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: Enforce ServerCallContext in request handling (#882)
# Description
- Make `ServerCallContext` a mandatory parameter across all `TaskStore`
implementations (`TaskStore` interface, `DatabaseTaskStore`, and
`InMemoryTaskStore`) and update tests.
- Make `ServerCallContext` a mandatory parameter in `RequestContext`.
Previously, context defaulted to None, which could allow callers to
bypass authorization scoping if the context was set to None. By
requiring the context, we guarantee that the `owner_resolver` always has
the necessary request context to determine scope boundaries.
Fixes#718 🦕
0 commit comments