mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-13 01:25:11 +00:00
feat: search users by list of emails (users/_search) (#6983)
Co-authored-by: Stefan Benz <[email protected]>
This commit is contained in:
co-authored by
Stefan Benz
parent
e769b163ef
commit
17153b694e
@@ -188,6 +188,7 @@ message SearchQuery {
|
||||
OrQuery or_query = 11;
|
||||
AndQuery and_query = 12;
|
||||
NotQuery not_query = 13;
|
||||
InUserEmailsQuery in_user_emails_query = 14;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -223,6 +224,15 @@ message InUserIDQuery {
|
||||
];
|
||||
}
|
||||
|
||||
message InUserEmailsQuery {
|
||||
repeated string user_emails = 1 [
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
description: "the emails of the users to include"
|
||||
example: "[\"test@example.com\",\"test@example.org\"]";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
message UserNameQuery {
|
||||
string user_name = 1 [
|
||||
(validate.rules).string = {max_len: 200},
|
||||
|
||||
Reference in New Issue
Block a user