Skip to content

Commit 824aa04

Browse files
committed
ORV2-4849 Update permission at the BE
ORV2-4850 - Update permission at the BE to allow only SA to perform an update
1 parent 180af86 commit 824aa04

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

vehicles/src/modules/permit-application-payment/payment/payment.controller.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,7 @@ export class PaymentController {
9797
type: ReadTransactionDto,
9898
})
9999
@Permissions({
100-
allowedIdirRoles: [
101-
IDIRUserRole.PPC_CLERK,
102-
IDIRUserRole.SYSTEM_ADMINISTRATOR,
103-
IDIRUserRole.CTPO,
104-
],
100+
allowedIdirRoles: [IDIRUserRole.SYSTEM_ADMINISTRATOR],
105101
})
106102
@Post('refund')
107103
async createRefundTransactionDetails(

0 commit comments

Comments
 (0)