grafana/pkg/services/contexthandler
Eric Leijonmarck 3cd952b8ba
Auth: Fix orgrole picker disabled if isSynced user (#64033)
* fix: disable orgrolepicker if externaluser is synced

* add disable to role picker

* just took me 2 hours to center the icon

* wip

* fix: check externallySyncedUser for API call

* remove check from store

* add: tests

* refactor authproxy and made tests run

* add: feature toggle

* set feature toggle for tests

* add: IsProviderEnabled

* refactor: featuretoggle name

* IsProviderEnabled tests

* add specific tests for isProviderEnabled

* fix: org_user tests

* add: owner to featuretoggle

* add missing authlabels

* remove fmt

* feature toggle

* change config

* add test for a different authmodule

* test refactor

* gen feature toggle again

* fix basic auth user able to change the org role

* test for basic auth role

* make err.base to error

* lowered lvl of log and input mesg
2023-03-22 17:41:59 +00:00
..
authproxy Auth: Fix orgrole picker disabled if isSynced user (#64033) 2023-03-22 17:41:59 +00:00
ctxkey pkg/web: restrict handler types (#48495) 2022-05-20 12:45:18 -04:00
model Reqcontext: Use err status code instead of always fallback (#63974) 2023-03-01 17:11:16 -03:00
auth_jwt.go ContextHandler: add all configured auth header to context (#62775) 2023-02-02 16:25:46 +01:00
auth_proxy_test.go Remotecache: rename setbytearray/getbytearray to set/get and remove codec (#64470) 2023-03-10 13:57:29 +01:00
contexthandler_test.go Auth: Rotate token patch (#62676) 2023-02-02 14:36:16 +01:00
contexthandler.go Chore: Remove result field from API keys commands and queries (#65055) 2023-03-21 13:26:33 +01:00