feat(roles): add list support for roles (#5754)

This commit is contained in:
Apoorv Dixit
2024-09-02 12:12:50 +05:30
committed by GitHub
parent 7296cceba3
commit e4f1fbc5a5
13 changed files with 396 additions and 23 deletions

View File

@ -387,15 +387,3 @@ pub struct ListProfilesForUserInOrgAndMerchantAccountResponse {
pub profile_id: id_type::ProfileId,
pub profile_name: String,
}
#[derive(Debug, serde::Serialize)]
pub struct ListUsersInEntityResponse {
pub email: pii::Email,
pub roles: Vec<MinimalRoleInfo>,
}
#[derive(Debug, serde::Serialize, Clone)]
pub struct MinimalRoleInfo {
pub role_id: String,
pub role_name: String,
}