grafana/pkg/setting
Kristian Klausen 4fc0d42470
OAuth: Add optional strict parsing of role_attribute_path (#28021)
* OAuth: Add strict role mapping

By default the user is assigned the role Viewer if role_attribute_path
doesn't return a role, which is not always desirable. This commit adds a
strict mode, which deny the user access if a role isn't returned.

Fix #26626

* Update docs/sources/auth/generic-oauth.md

Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>

* Update docs/sources/auth/generic-oauth.md

* Update .gitignore file with WAN

* Removed WAN from .gitignore

Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <aparajita.chatterjee@grafana.com>
2021-04-14 15:14:27 -04:00
..
testdata Config: Show user-friendly error message instead of stack trace (#16564) 2019-04-25 08:29:07 +02:00
date_formats_test.go setting: Fix tests on Mac (#28886) 2020-11-09 14:39:56 +01:00
date_formats.go setting: Fix tests on Mac (#28886) 2020-11-09 14:39:56 +01:00
dynamic_settings_test.go Chore: Disable default golangci-lint filter (#29751) 2020-12-15 09:32:06 +01:00
expanders_test.go Chore: Disable default golangci-lint filter (#29751) 2020-12-15 09:32:06 +01:00
expanders.go Security: Add gosec G304 auditing annotations (#29578) 2020-12-03 22:13:06 +01:00
setting_oauth.go OAuth: Add optional strict parsing of role_attribute_path (#28021) 2021-04-14 15:14:27 -04:00
setting_plugins_test.go Backend Plugins: Plugin configuration using Grafana config (#23451) 2020-04-14 18:04:27 +02:00
setting_plugins.go Backend Plugins: Plugin configuration using Grafana config (#23451) 2020-04-14 18:04:27 +02:00
setting_quota.go Move middleware context handler logic to service (#29605) 2020-12-11 11:44:44 +01:00
setting_sentry.go Logging: rate limit fronted logging endpoint (#29272) 2020-12-09 16:22:24 +01:00
setting_session_test.go pkg/setting: Check errors (#19838) 2019-10-22 16:17:49 +02:00
setting_smtp.go Email Notifications: Add StartTLSPolicy config flag (#24574) 2020-05-13 16:33:40 +02:00
setting_test.go CDN: Fixes cdn path when Grafana is under sub path (#30822) 2021-02-02 12:34:59 +01:00
setting.go Plugins: Allow a non-dashboard page to be the default home page (#32926) 2021-04-13 15:27:51 +02:00