mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-03 20:36:03 +02:00
Currently, when option changes, whether the option is good or bad, we always store new policy evaluator. When options is bad, policy evaluator will be nil. That can lead to panic at runtime if a Check request were called after Authorize.OnConfigChange ran with bad option. We already have an error message if new policy evaluator fails, so we must only update it on success only. |
||
---|---|---|
.. | ||
evaluator | ||
authorize.go | ||
authorize_test.go | ||
check_response.go | ||
check_response_test.go | ||
google_cloud_serverless.go | ||
google_cloud_serverless_test.go | ||
grpc.go | ||
grpc_test.go | ||
run.go | ||
session.go | ||
session_test.go |