grafana/pkg/services/ldap
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
..
api Auth: Fix orgrole picker disabled if isSynced user (#64033) 2023-03-22 17:41:59 +00:00
multildap LDAP: Move LDAP globals to Config (#63255) 2023-02-10 19:01:55 +01:00
service Auth: Fix orgrole picker disabled if isSynced user (#64033) 2023-03-22 17:41:59 +00:00
testdata LDAP: Allow setting minimum TLS version and accepted ciphers (#63646) 2023-02-28 12:13:46 +01:00
helpers.go LDAP: Allow setting minimum TLS version and accepted ciphers (#63646) 2023-02-28 12:13:46 +01:00
ldap_groups.go chore: move user_auth models to (mostly) login service (#62269) 2023-01-27 13:36:54 -05:00
ldap_helpers_test.go LDAP: Allow setting minimum TLS version and accepted ciphers (#63646) 2023-02-28 12:13:46 +01:00
ldap_login_test.go Auth: Fix orgrole picker disabled if isSynced user (#64033) 2023-03-22 17:41:59 +00:00
ldap_private_test.go Auth: Fix orgrole picker disabled if isSynced user (#64033) 2023-03-22 17:41:59 +00:00
ldap_test.go Auth: Fix orgrole picker disabled if isSynced user (#64033) 2023-03-22 17:41:59 +00:00
ldap.go LDAP: Allow setting minimum TLS version and accepted ciphers (#63646) 2023-02-28 12:13:46 +01:00
model.go chore: move user_auth models to (mostly) login service (#62269) 2023-01-27 13:36:54 -05:00
settings_test.go LDAP: Allow setting minimum TLS version and accepted ciphers (#63646) 2023-02-28 12:13:46 +01:00
settings.go Auth: Fix orgrole picker disabled if isSynced user (#64033) 2023-03-22 17:41:59 +00:00
testing.go LDAP: Allow setting minimum TLS version and accepted ciphers (#63646) 2023-02-28 12:13:46 +01:00