mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
feat(roles): add list support for roles (#5754)
This commit is contained in:
@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user