fix(users): only list roles and memberships with manage_account (#8281)

Co-authored-by: Adrián Jesús Peña Rodríguez <adrianjpr@gmail.com>
Co-authored-by: alejandrobailo <alejandrobailo94@gmail.com>
This commit is contained in:
Pepe Fagoaga
2025-09-22 11:25:24 +02:00
committed by GitHub
parent 1cfae546a0
commit b00602f109
14 changed files with 671 additions and 96 deletions

View File

@@ -149,3 +149,13 @@ export interface TenantDetailData {
};
};
}
export type IncludedItem = RoleDetail | MembershipDetailData | TenantDetailData;
export interface UserProfileResponse {
data: UserDataWithRoles;
included?: IncludedItem[];
meta?: {
version: string;
};
}