mirror of
https://github.com/zitadel/zitadel.git
synced 2025-11-03 12:42:17 +00:00
# Which Problems Are Solved
Some users have reported the need of retrieving users given a metadata
key, metadata value or both. This change introduces metadata search
filter on the `ListUsers()` endpoint to allow Zitadel users to search
for user records by metadata.
The changes affect only v2 APIs.
# How the Problems Are Solved
- Add new search filter to `ListUserRequest`: `MetaKey` and `MetaValue`
- Add SQL indices on metadata key and metadata value
- Update query to left join `user_metadata` table
# Additional Context
- Closes #9053
- Depends on https://github.com/zitadel/zitadel/pull/10567
---------
Co-authored-by: Silvan <27845747+adlerhurst@users.noreply.github.com>
Co-authored-by: Stefan Benz <46600784+stebenz@users.noreply.github.com>
(cherry picked from commit 8df402fb4f)
35 lines
1.1 KiB
JSON
35 lines
1.1 KiB
JSON
{
|
|
"name": "typescript",
|
|
"version": "1.0.0",
|
|
"repository": "ssh://git@github.com/zitadel/zitadel.git",
|
|
"author": "ZITADEL Authors <hi@zitadel.com>",
|
|
"engines": {
|
|
"node": "18 || 20"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"devDependencies": {
|
|
"@babel/core": "7.23.7",
|
|
"@babel/plugin-proposal-class-properties": "7.13.0",
|
|
"@babel/plugin-proposal-object-rest-spread": "7.13.8",
|
|
"@babel/preset-env": "7.23.8",
|
|
"@babel/preset-typescript": "7.23.3",
|
|
"@types/k6": ">=1.2.0",
|
|
"@types/webpack": "5.28.5",
|
|
"babel-loader": "9.1.3",
|
|
"clean-webpack-plugin": "4.0.0",
|
|
"copy-webpack-plugin": "^12.0.2",
|
|
"prettier": "^3.3.3",
|
|
"prettier-plugin-organize-imports": "^3.2.4",
|
|
"typescript": "5.4.5",
|
|
"webpack": "5.95.0",
|
|
"webpack-cli": "5.1.4",
|
|
"webpack-glob-entries": "^1.0.1"
|
|
},
|
|
"scripts": {
|
|
"bundle": "webpack",
|
|
"lint": "prettier --check src/**",
|
|
"lint:fix": "prettier --write src",
|
|
"clean": "rm -rf dist .turbo node_modules"
|
|
}
|
|
}
|