mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 18:07:31 +00:00
fix: add details to ListUsers for user results (#8255)
# Which Problems Are Solved In User v2 API, the ListUsers endpoint doesn't provide the information to which organization the user belongs to. # How the Problems Are Solved Add the details to the user results from the ListUsers endpoint, so that the OrgID is also included as ResourceOwner. # Additional Changes None # Additional Context Closes #8172
This commit is contained in:
@@ -183,6 +183,7 @@ message User {
|
||||
example: "\"d654e6ba-70a3-48ef-a95d-37c8d8a7901a\"";
|
||||
}
|
||||
];
|
||||
zitadel.object.v2beta.Details details = 8;
|
||||
UserState state = 2 [
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
description: "current state of the user";
|
||||
|
@@ -989,6 +989,7 @@ message GetUserByIDRequest {
|
||||
}
|
||||
|
||||
message GetUserByIDResponse {
|
||||
//deprecated: details is moved into user
|
||||
zitadel.object.v2beta.Details details = 1;
|
||||
zitadel.user.v2beta.User user = 2;
|
||||
}
|
||||
|
Reference in New Issue
Block a user