mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +08:00
feat(roles): Add caching for custom roles (#3946)
This commit is contained in:
@ -1,8 +1,6 @@
|
||||
use common_enums::PermissionGroup;
|
||||
use common_utils::pii;
|
||||
|
||||
use crate::user::DashboardEntryResponse;
|
||||
|
||||
pub mod role;
|
||||
|
||||
#[derive(Debug, serde::Serialize)]
|
||||
@ -99,8 +97,6 @@ pub struct AcceptInvitationRequest {
|
||||
pub need_dashboard_entry_response: Option<bool>,
|
||||
}
|
||||
|
||||
pub type AcceptInvitationResponse = DashboardEntryResponse;
|
||||
|
||||
#[derive(Debug, serde::Deserialize, serde::Serialize)]
|
||||
pub struct DeleteUserRoleRequest {
|
||||
pub email: pii::Email,
|
||||
|
||||
Reference in New Issue
Block a user