Show authz provider problems in site alerts
Created by: unknwon
Fixes https://github.com/sourcegraph/sourcegraph/issues/6061.
Notes:
- Used
ContributeXXX
approach (similar toconf.ContributeValidator
) for config warnings that should only be validated at runtime to avoid preventing server from starting.
Test plan:
- Locally tested with a invalid authz provider config.
- Unit tests for changes to
conf.Problem
.