feat(payouts): Add user roles for payouts (#4167)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
chikke srujan
2024-03-22 16:21:18 +05:30
committed by GitHub
parent 5afd2c2a67
commit 13fe58450b
9 changed files with 119 additions and 68 deletions

View File

@ -32,6 +32,8 @@ pub enum Permission {
UsersWrite,
MerchantAccountCreate,
WebhookEventRead,
PayoutWrite,
PayoutRead,
}
#[derive(Debug, serde::Serialize)]
@ -48,6 +50,7 @@ pub enum PermissionModule {
ThreeDsDecisionManager,
SurchargeDecisionManager,
AccountCreate,
Payouts,
}
#[derive(Debug, serde::Serialize)]