mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-01-25 02:08:11 +00:00
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:
@@ -149,3 +149,13 @@ export interface TenantDetailData {
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
export type IncludedItem = RoleDetail | MembershipDetailData | TenantDetailData;
|
||||
|
||||
export interface UserProfileResponse {
|
||||
data: UserDataWithRoles;
|
||||
included?: IncludedItem[];
|
||||
meta?: {
|
||||
version: string;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user