feat(users): Added get role from jwt api (#3385)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Rachit Naithani
2024-01-18 20:18:44 +05:30
committed by GitHub
parent 862a1b5303
commit 7516a16763
10 changed files with 140 additions and 111 deletions

View File

@ -43,6 +43,7 @@ pub enum Permission {
SurchargeDecisionManagerRead,
UsersRead,
UsersWrite,
MerchantAccountCreate,
}
#[derive(Debug, serde::Serialize)]
@ -60,6 +61,7 @@ pub enum PermissionModule {
Files,
ThreeDsDecisionManager,
SurchargeDecisionManager,
AccountCreate,
}
#[derive(Debug, serde::Serialize)]