grafana/pkg/services
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
..
accesscontrol Chore: Differentiate the ErrOrgNotFound error messages (#64131) 2023-03-06 09:57:46 +02:00
alerting Chore: Remove xorcare/pointer dependency (#63900) 2023-03-06 05:23:15 -05:00
annotations Rename Id to ID for annotation models (#62886) 2023-02-03 17:23:09 +01:00
anonymous AnonymousService: Test tagging service (#64708) 2023-03-14 10:47:34 +01:00
apikey Chore: Remove result field from API keys commands and queries (#65055) 2023-03-21 13:26:33 +01:00
auth Remotecache: rename setbytearray/getbytearray to set/get and remove codec (#64470) 2023-03-10 13:57:29 +01:00
authn Auth: Fix orgrole picker disabled if isSynced user (#64033) 2023-03-22 17:41:59 +00:00
cleanup Chore: Fix goimports grouping in pkg/services (#62420) 2023-01-30 08:21:27 +00:00
contexthandler Auth: Fix orgrole picker disabled if isSynced user (#64033) 2023-03-22 17:41:59 +00:00
correlations Add quota setting for correlations (#65076) 2023-03-21 15:27:25 -05:00
dashboardimport Dashboards: Avoid adding unused revision property (#64362) 2023-03-08 08:26:38 -08:00
dashboards Cfg: Move ViewersCanEdit into cfg (#64876) 2023-03-16 10:54:01 +01:00
dashboardsnapshots Snapshots: Add snapshot enable config (#61587) 2023-01-26 10:28:11 -03:00
dashboardversion fix(dashboard version service): add DashboardUID to query and responses (#60800) 2023-02-07 12:27:38 -05:00
datasourceproxy Chore: Rename Id to ID in alerting models (#62777) 2023-02-02 17:22:43 +01:00
datasources Chore: Remove result field from remaining datasources queries (#65054) 2023-03-20 19:18:21 +01:00
encryption Chore: Fix goimports grouping in pkg/services (#62420) 2023-01-30 08:21:27 +00:00
featuremgmt Auth: Fix orgrole picker disabled if isSynced user (#64033) 2023-03-22 17:41:59 +00:00
folder RBAC: protect folder creation and moving (#64636) 2023-03-20 11:04:22 +00:00
grpcserver Rename Id to ID for annotation models (#62886) 2023-02-03 17:23:09 +01:00
guardian Cfg: Move ViewersCanEdit into cfg (#64876) 2023-03-16 10:54:01 +01:00
hooks chore: move user_auth models to (mostly) login service (#62269) 2023-01-27 13:36:54 -05:00
kmsproviders
ldap Auth: Fix orgrole picker disabled if isSynced user (#64033) 2023-03-22 17:41:59 +00:00
libraryelements Cfg: Move ViewersCanEdit into cfg (#64876) 2023-03-16 10:54:01 +01:00
librarypanels Cfg: Move ViewersCanEdit into cfg (#64876) 2023-03-16 10:54:01 +01:00
licensing Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
live PublicDashboards: Allow hidden queries execution (#64858) 2023-03-16 15:39:17 -03:00
login Auth: Fix orgrole picker disabled if isSynced user (#64033) 2023-03-22 17:41:59 +00:00
loginattempt Chore: Fix goimports grouping (#62426) 2023-01-30 09:34:18 +01:00
navtree Auth: Fix orgrole picker disabled if isSynced user (#64033) 2023-03-22 17:41:59 +00:00
ngalert Alerting: Fix attachment of external labels to Loki state history log streams (#65140) 2023-03-21 18:00:59 -05:00
notifications SMTP: Update email templates to include populated <title> tag (#61430) 2023-01-30 16:56:23 -05:00
oauthtoken SupportBundles: Add OAuth bundle collectors (#64810) 2023-03-16 09:46:25 +02:00
org Auth: Fix orgrole picker disabled if isSynced user (#64033) 2023-03-22 17:41:59 +00:00
playlist Chore: Update oapi-codegen library (#62962) 2023-02-21 12:34:24 +01:00
plugindashboards Plugins: Migrate plugincontext, adapters and pluginsettings to pkg/services/pluginsintegration package (#64154) 2023-03-07 11:22:30 -05:00
pluginsintegration Plugins: Refactor loader + finder to support multiple sourcing methods (#64735) 2023-03-20 14:35:49 +01:00
preference SQLStore: Fix wrong usage of xorm's insert functions in tests (#63850) 2023-03-02 13:01:36 +02:00
provisioning Plugins: Migrate plugincontext, adapters and pluginsettings to pkg/services/pluginsintegration package (#64154) 2023-03-07 11:22:30 -05:00
publicdashboards PublicDashboards: Added grafana special datasources to supported list (#64930) 2023-03-17 13:14:24 -03:00
query DataSourceWithBackend: Add queryGroupId to find correlated/related queries (#64587) 2023-03-17 15:48:13 +01:00
queryhistory Support bundles: Refactor registry into separate service (#62945) 2023-02-06 17:50:03 +01:00
quota Chore: Remove xorcare/pointer dependency (#63900) 2023-03-06 05:23:15 -05:00
rendering Remotecache: rename setbytearray/getbytearray to set/get and remove codec (#64470) 2023-03-10 13:57:29 +01:00
screenshot Alerting: Fix a bug taking screenshots with Dashboard UID (#63220) 2023-02-09 15:23:01 -05:00
search Search: Improvements for starred dashboard search (#64758) 2023-03-16 09:20:07 +00:00
searchusers Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
searchV2 Chore: remove querylibrary feature toggle (#65021) 2023-03-20 20:00:14 +04:00
secrets Chore: Remove result field from remaining datasources queries (#65054) 2023-03-20 19:18:21 +01:00
serviceaccounts Chore: Remove result field from API keys commands and queries (#65055) 2023-03-21 13:26:33 +01:00
shorturls Chore: Replace short UID generation with more standard UUIDs (#62731) 2023-02-06 20:44:37 -05:00
sqlstore Chore: Add function for detecting if the SQL driver supported CTEs (#64441) 2023-03-20 10:27:08 +02:00
star Search: Improvements for starred dashboard search (#64758) 2023-03-16 09:20:07 +00:00
stats Alerting: Fix stats that display alert count when using unified alerting (#64852) 2023-03-17 11:19:18 +00:00
store Chore: Remove result field from remaining datasources queries (#65054) 2023-03-20 19:18:21 +01:00
supportbundles Support bundles: fix user collector permissions and format collector output (#64531) 2023-03-09 11:43:18 -05:00
tag Chore: Fix goimports grouping in pkg/services (#62420) 2023-01-30 08:21:27 +00:00
team Chore: Remove CreateUserForTests() (#64125) 2023-03-03 11:01:23 -05:00
teamguardian Chore: Fix goimports grouping (#62426) 2023-01-30 09:34:18 +01:00
temp_user fix: create temp user no longer sets ID to 0 for all users (#64149) 2023-03-03 10:50:54 -05:00
thumbs Service accounts: Creation logic simplification (#63884) 2023-03-01 16:31:20 +00:00
updatechecker Plugins: Add Plugin FS abstraction (#63734) 2023-03-07 16:47:02 +01:00
user Support bundles: fix user collector permissions and format collector output (#64531) 2023-03-09 11:43:18 -05:00
validations chore: move validations model into the validations service (#61953) 2023-01-23 15:10:14 -05:00