This ensures that the X-Grafana-User header can be trusted. If the configuration enabled the setting of this header, the server can now trust that X-Grafana-User is set/unset by Grafana. Before this, an anonymous user could simply set the X-Grafana-User header themselves (using the developer tool for example)
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
test-data | Loading commit data... | |
access_token_provider.go | Loading commit data... | |
access_token_provider_test.go | Loading commit data... | |
ds_auth_provider.go | Loading commit data... | |
ds_auth_provider_test.go | Loading commit data... | |
ds_proxy.go | Loading commit data... | |
ds_proxy_test.go | Loading commit data... | |
pluginproxy.go | Loading commit data... | |
pluginproxy_test.go | Loading commit data... | |
utils.go | Loading commit data... | |
utils_test.go | Loading commit data... |