mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 04:04:43 +08:00
feat(users): New profile level roles (#5843)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -419,7 +419,7 @@ pub mod routes {
|
||||
},
|
||||
&auth::JWTAuth {
|
||||
permission: Permission::Analytics,
|
||||
minimum_entity_level: EntityType::Merchant,
|
||||
minimum_entity_level: EntityType::Organization,
|
||||
},
|
||||
api_locking::LockAction::NotApplicable,
|
||||
))
|
||||
@ -465,7 +465,7 @@ pub mod routes {
|
||||
},
|
||||
&auth::JWTAuth {
|
||||
permission: Permission::Analytics,
|
||||
minimum_entity_level: EntityType::Merchant,
|
||||
minimum_entity_level: EntityType::Profile,
|
||||
},
|
||||
api_locking::LockAction::NotApplicable,
|
||||
))
|
||||
@ -545,7 +545,7 @@ pub mod routes {
|
||||
},
|
||||
&auth::JWTAuth {
|
||||
permission: Permission::Analytics,
|
||||
minimum_entity_level: EntityType::Merchant,
|
||||
minimum_entity_level: EntityType::Organization,
|
||||
},
|
||||
api_locking::LockAction::NotApplicable,
|
||||
))
|
||||
@ -591,7 +591,7 @@ pub mod routes {
|
||||
},
|
||||
&auth::JWTAuth {
|
||||
permission: Permission::Analytics,
|
||||
minimum_entity_level: EntityType::Merchant,
|
||||
minimum_entity_level: EntityType::Profile,
|
||||
},
|
||||
api_locking::LockAction::NotApplicable,
|
||||
))
|
||||
@ -671,7 +671,7 @@ pub mod routes {
|
||||
},
|
||||
&auth::JWTAuth {
|
||||
permission: Permission::Analytics,
|
||||
minimum_entity_level: EntityType::Merchant,
|
||||
minimum_entity_level: EntityType::Organization,
|
||||
},
|
||||
api_locking::LockAction::NotApplicable,
|
||||
))
|
||||
@ -717,7 +717,7 @@ pub mod routes {
|
||||
},
|
||||
&auth::JWTAuth {
|
||||
permission: Permission::Analytics,
|
||||
minimum_entity_level: EntityType::Merchant,
|
||||
minimum_entity_level: EntityType::Profile,
|
||||
},
|
||||
api_locking::LockAction::NotApplicable,
|
||||
))
|
||||
@ -931,7 +931,7 @@ pub mod routes {
|
||||
},
|
||||
&auth::JWTAuth {
|
||||
permission: Permission::Analytics,
|
||||
minimum_entity_level: EntityType::Merchant,
|
||||
minimum_entity_level: EntityType::Organization,
|
||||
},
|
||||
api_locking::LockAction::NotApplicable,
|
||||
))
|
||||
@ -967,7 +967,7 @@ pub mod routes {
|
||||
},
|
||||
&auth::JWTAuth {
|
||||
permission: Permission::Analytics,
|
||||
minimum_entity_level: EntityType::Merchant,
|
||||
minimum_entity_level: EntityType::Profile,
|
||||
},
|
||||
api_locking::LockAction::NotApplicable,
|
||||
))
|
||||
@ -1056,7 +1056,7 @@ pub mod routes {
|
||||
},
|
||||
&auth::JWTAuth {
|
||||
permission: Permission::Analytics,
|
||||
minimum_entity_level: EntityType::Merchant,
|
||||
minimum_entity_level: EntityType::Organization,
|
||||
},
|
||||
api_locking::LockAction::NotApplicable,
|
||||
))
|
||||
@ -1092,7 +1092,7 @@ pub mod routes {
|
||||
},
|
||||
&auth::JWTAuth {
|
||||
permission: Permission::Analytics,
|
||||
minimum_entity_level: EntityType::Merchant,
|
||||
minimum_entity_level: EntityType::Profile,
|
||||
},
|
||||
api_locking::LockAction::NotApplicable,
|
||||
))
|
||||
@ -1179,7 +1179,7 @@ pub mod routes {
|
||||
},
|
||||
&auth::JWTAuth {
|
||||
permission: Permission::Analytics,
|
||||
minimum_entity_level: EntityType::Merchant,
|
||||
minimum_entity_level: EntityType::Profile,
|
||||
},
|
||||
api_locking::LockAction::NotApplicable,
|
||||
))
|
||||
@ -1213,7 +1213,7 @@ pub mod routes {
|
||||
},
|
||||
&auth::JWTAuth {
|
||||
permission: Permission::Analytics,
|
||||
minimum_entity_level: EntityType::Merchant,
|
||||
minimum_entity_level: EntityType::Profile,
|
||||
},
|
||||
api_locking::LockAction::NotApplicable,
|
||||
))
|
||||
@ -1245,7 +1245,7 @@ pub mod routes {
|
||||
},
|
||||
&auth::JWTAuth {
|
||||
permission: Permission::Analytics,
|
||||
minimum_entity_level: EntityType::Merchant,
|
||||
minimum_entity_level: EntityType::Profile,
|
||||
},
|
||||
api_locking::LockAction::NotApplicable,
|
||||
))
|
||||
@ -1776,7 +1776,7 @@ pub mod routes {
|
||||
},
|
||||
&auth::JWTAuth {
|
||||
permission: Permission::Analytics,
|
||||
minimum_entity_level: EntityType::Merchant,
|
||||
minimum_entity_level: EntityType::Profile,
|
||||
},
|
||||
api_locking::LockAction::NotApplicable,
|
||||
))
|
||||
@ -1808,7 +1808,7 @@ pub mod routes {
|
||||
},
|
||||
&auth::JWTAuth {
|
||||
permission: Permission::Analytics,
|
||||
minimum_entity_level: EntityType::Merchant,
|
||||
minimum_entity_level: EntityType::Profile,
|
||||
},
|
||||
api_locking::LockAction::NotApplicable,
|
||||
))
|
||||
@ -1851,7 +1851,7 @@ pub mod routes {
|
||||
},
|
||||
&auth::JWTAuth {
|
||||
permission: Permission::Analytics,
|
||||
minimum_entity_level: EntityType::Merchant,
|
||||
minimum_entity_level: EntityType::Profile,
|
||||
},
|
||||
api_locking::LockAction::NotApplicable,
|
||||
))
|
||||
@ -1894,7 +1894,7 @@ pub mod routes {
|
||||
},
|
||||
&auth::JWTAuth {
|
||||
permission: Permission::Analytics,
|
||||
minimum_entity_level: EntityType::Merchant,
|
||||
minimum_entity_level: EntityType::Profile,
|
||||
},
|
||||
api_locking::LockAction::NotApplicable,
|
||||
))
|
||||
@ -1961,7 +1961,7 @@ pub mod routes {
|
||||
},
|
||||
&auth::JWTAuth {
|
||||
permission: Permission::Analytics,
|
||||
minimum_entity_level: EntityType::Merchant,
|
||||
minimum_entity_level: EntityType::Profile,
|
||||
},
|
||||
api_locking::LockAction::NotApplicable,
|
||||
))
|
||||
@ -1990,7 +1990,7 @@ pub mod routes {
|
||||
},
|
||||
&auth::JWTAuth {
|
||||
permission: Permission::Analytics,
|
||||
minimum_entity_level: EntityType::Merchant,
|
||||
minimum_entity_level: EntityType::Organization,
|
||||
},
|
||||
api_locking::LockAction::NotApplicable,
|
||||
))
|
||||
@ -2077,7 +2077,7 @@ pub mod routes {
|
||||
},
|
||||
&auth::JWTAuth {
|
||||
permission: Permission::Analytics,
|
||||
minimum_entity_level: EntityType::Merchant,
|
||||
minimum_entity_level: EntityType::Profile,
|
||||
},
|
||||
api_locking::LockAction::NotApplicable,
|
||||
))
|
||||
@ -2116,7 +2116,7 @@ pub mod routes {
|
||||
},
|
||||
&auth::JWTAuth {
|
||||
permission: Permission::Analytics,
|
||||
minimum_entity_level: EntityType::Merchant,
|
||||
minimum_entity_level: EntityType::Organization,
|
||||
},
|
||||
api_locking::LockAction::NotApplicable,
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user