mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 17:47:54 +08:00
refactor(enums): recon - include ReconOps variant in PermissionsGroup for backwards compatibility with data in DB (#6767)
This commit is contained in:
@ -2828,10 +2828,9 @@ pub enum PermissionGroup {
|
||||
ReconReportsView,
|
||||
ReconReportsManage,
|
||||
ReconOpsView,
|
||||
// Alias is added for backward compatibility with database
|
||||
// TODO: Remove alias post migration
|
||||
#[serde(alias = "recon_ops")]
|
||||
ReconOpsManage,
|
||||
// TODO: To be deprecated, make sure DB is migrated before removing
|
||||
ReconOps,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, serde::Serialize, PartialEq, Eq, Hash, strum::EnumIter)]
|
||||
|
||||
Reference in New Issue
Block a user