Skip to content

Commit

Permalink
chore: add TrialBalance auth for bank manager
Browse files Browse the repository at this point in the history
  • Loading branch information
vindard committed Jan 24, 2025
1 parent 03e3aa4 commit 94248c6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lana/app/src/authorization/seed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,15 @@ async fn add_permissions_for_bank_manager(authz: &Authorization) -> Result<(), A
CreditFacilityAction::Complete,
)
.await?;
authz
.add_permission_to_role(&role, Object::TrialBalance, TrialBalanceAction::Read)
.await?;
authz
.add_permission_to_role(&role, Object::TrialBalance, TrialBalanceAction::Create)
.await?;
authz
.add_permission_to_role(&role, Object::TrialBalance, TrialBalanceAction::Update)
.await?;
authz
.add_permission_to_role(
&role,
Expand Down

0 comments on commit 94248c6

Please sign in to comment.