grafana/pkg/services
Eric Leijonmarck e394e16073
Auth: Force lowercase login/email for users (#86359)
* [WIP]: Force lowercase login/email for user CRUD

* warn and remove use of userCaseInsensitiveLogin check

* remove log warning

* reimplementation of the caseinsensitive

* need to decide if we want the conflict check or not

* remvoved the tests for conflict user by getEmail, getLogin

* added tests for user lowercase migration

* wip: emails next

* tests for email lowercasing

* review comments

* optimized login and email lookup before migrating
2024-04-25 17:31:17 +01:00
..
accesscontrol Chore: Update tests to use team membership hooks (#86846) 2024-04-24 16:55:42 +01:00
annotations Chore: Make Cfg field private in SQLStore (#85593) 2024-04-24 10:38:40 +02:00
anonymous Auth: Add IsClientEnabled and IsEnabled for the authn.Service and authn.Client interfaces (#86034) 2024-04-15 10:54:50 +02:00
apikey Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
apiserver Plugins: Pass cancellable context during API server creation (#86545) 2024-04-19 09:22:14 +03:00
auth Authn: move namespace id type (#86853) 2024-04-25 12:54:36 +02:00
authn Authn: move namespace id type (#86853) 2024-04-25 12:54:36 +02:00
caching Fixing typos (#70487) 2023-06-22 09:43:38 +01:00
cleanup Short Links: Add setting for changing expiration time (#86003) 2024-04-22 07:39:24 -05:00
cloudmigration CMS: Create local implementation of cloud migration for dev use (#86637) 2024-04-20 23:51:58 -04:00
contexthandler AuthN: Use typed namespace id inside authn package (#86048) 2024-04-24 09:57:34 +02:00
correlations Chore: Replace sqlstore with db interface (#85366) 2024-04-04 15:04:47 +02:00
dashboardimport Add FolderUID for library elements (#83819) 2024-04-09 12:27:43 +02:00
dashboards SQLStore: Disable redundant create and drop unique index migrations on dashboard table (#86857) 2024-04-24 15:25:43 +01:00
dashboardsnapshots Snapshots: Viewers can not create a Snapshot (#84952) 2024-03-22 14:31:01 -03:00
dashboardversion Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
datasourceproxy Errors: Make errors the same in dev as prod (#77366) 2023-10-30 14:06:26 -04:00
datasources Remove fmt.Println of client certificate (#86773) 2024-04-23 15:15:52 +01:00
encryption Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
extsvcauth Better tracing during extSvcAcc registration (#84719) 2024-03-21 16:41:10 +01:00
featuremgmt Explore: Show a drawer with tabs for the library and query history (#86279) 2024-04-24 10:32:11 +02:00
folder Chore: Make Cfg field private in SQLStore (#85593) 2024-04-24 10:38:40 +02:00
gcom CMS: Create local implementation of cloud migration for dev use (#86637) 2024-04-20 23:51:58 -04:00
grpcserver Chore: Upgrade grpc-ecosystem/go-grpc-middleware to v2 (#86724) 2024-04-25 17:25:48 +02:00
guardian Folders: Allow listing folders with write permission (#83527) 2024-03-15 14:05:27 +02:00
hooks Hooks: Remove AddLoginHook and RunLogin hooks (#73227) 2023-08-17 09:51:45 +02:00
kmsproviders Secrets: Make the Migrator extensible (#67307) 2023-06-19 23:44:01 +02:00
ldap User: Clean up update functions (#86341) 2024-04-16 16:33:50 +02:00
libraryelements Chore: Make Cfg field private in SQLStore (#85593) 2024-04-24 10:38:40 +02:00
librarypanels Chore: Make Cfg field private in SQLStore (#85593) 2024-04-24 10:38:40 +02:00
licensing Chore: Clean up old navigation (#66287) 2023-04-14 09:43:11 +01:00
live Grafana: Replace magic number with a constant variable in response status (#80132) 2024-02-27 18:39:51 +02:00
login User: Fix GetByID (#86282) 2024-04-16 15:24:34 +02:00
loginattempt Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
navtree Explore: Move app to under explore > traces (#86436) 2024-04-17 14:18:06 +01:00
ngalert Alerting: Implement SaveAndApplyConfig in the forked Alertmanager (remote primary) (#84659) 2024-04-23 15:45:35 +02:00
notifications Refactor: Email verification (#84393) 2024-03-14 13:25:28 +01:00
oauthtoken AuthN: Use typed namespace id inside authn package (#86048) 2024-04-24 09:57:34 +02:00
org Chore: Make Cfg field private in SQLStore (#85593) 2024-04-24 10:38:40 +02:00
playlist Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
plugindashboards Chore: removing folderId from plugindashboard service (#80570) 2024-01-16 11:08:39 +01:00
pluginsintegration Chore: Make Cfg field private in SQLStore (#85593) 2024-04-24 10:38:40 +02:00
preference Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
provisioning Provisioning: datasources auto deletion (#83034) 2024-04-08 11:45:39 +02:00
publicdashboards Chore: Make Cfg field private in SQLStore (#85593) 2024-04-24 10:38:40 +02:00
query Chore: Make Cfg field private in SQLStore (#85593) 2024-04-24 10:38:40 +02:00
queryhistory Chore: Make Cfg field private in SQLStore (#85593) 2024-04-24 10:38:40 +02:00
quota Chore: Make Cfg field private in SQLStore (#85593) 2024-04-24 10:38:40 +02:00
rendering Feature Flags: use FeatureToggles interface where possible (#85131) 2024-04-04 12:22:31 -04:00
screenshot Remove extra defers in screenshot sevice (#84697) 2024-03-20 07:13:16 +00:00
search Add MFolderIDsServiceCount to count folderIDs in services pkg (#81237) 2024-01-25 11:10:35 +01:00
searchusers Grafana: Replace magic number with a constant variable in response status (#80132) 2024-02-27 18:39:51 +02:00
searchV2 Chore: Replace sqlstore with db interface (#85366) 2024-04-04 15:04:47 +02:00
secrets SSO: add SSO settings to secrets migrator (#86913) 2024-04-25 18:30:23 +03:00
serviceaccounts Chore: Make Cfg field private in SQLStore (#85593) 2024-04-24 10:38:40 +02:00
shorturls Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
signingkeys SigningKeys: Add added_at when creating new signing key (#85060) 2024-03-25 09:58:40 +01:00
sqlstore Auth: Force lowercase login/email for users (#86359) 2024-04-25 17:31:17 +01:00
ssosettings SSO: add SSO settings to secrets migrator (#86913) 2024-04-25 18:30:23 +03:00
star Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
stats Chore: Make Cfg field private in SQLStore (#85593) 2024-04-24 10:38:40 +02:00
store Chore: Upgrade grpc-ecosystem/go-grpc-middleware to v2 (#86724) 2024-04-25 17:25:48 +02:00
supportbundles Feature Flags: use FeatureToggles interface where possible (#85131) 2024-04-04 12:22:31 -04:00
tag Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
team Chore: Clean up team membership code (#86914) 2024-04-25 16:46:24 +01:00
temp_user Chore: Make Cfg field private in SQLStore (#85593) 2024-04-24 10:38:40 +02:00
updatechecker Chore: Making versioncheck url rely on config instead of being hardcoded (#85855) 2024-04-11 12:04:53 +02:00
user Auth: Force lowercase login/email for users (#86359) 2024-04-25 17:31:17 +01:00
validations chore: move validations model into the validations service (#61953) 2023-01-23 15:10:14 -05:00