From 1ff14a2448c2e3a96f4ba2755b247d30b70a92fa Mon Sep 17 00:00:00 2001 From: Kush Sharma Date: Thu, 19 Oct 2023 13:54:35 +0530 Subject: [PATCH] feat(frontier): list roles while listing members of org Signed-off-by: Kush Sharma --- raystack/frontier/v1beta1/frontier.proto | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/raystack/frontier/v1beta1/frontier.proto b/raystack/frontier/v1beta1/frontier.proto index 73fa617f..eab89d9b 100644 --- a/raystack/frontier/v1beta1/frontier.proto +++ b/raystack/frontier/v1beta1/frontier.proto @@ -1911,10 +1911,18 @@ message ListOrganizationAdminsResponse { message ListOrganizationUsersRequest { string id = 1 [(validate.rules).string.min_len = 3]; string permission_filter = 2 [deprecated = true]; + + bool with_roles = 3; } message ListOrganizationUsersResponse { repeated User users = 1; + + message RolePair { + string user_id = 1; + repeated Role roles = 2; + } + repeated RolePair role_pairs = 2; } message AddOrganizationUsersRequest {