Files
bigcapital/packages/server
Ahmed Bouhuolia d5402b6a9b feat: add permission guards to credit note and vendor credit controllers
Add AuthorizationGuard and PermissionGuard to the following controllers:
- CreditNoteRefundsController
- CreditNotesApplyInvoiceController
- VendorCreditApplyBillsController
- VendorCreditsRefundController

Add @RequirePermission decorators with appropriate actions:
- View action for GET endpoints
- Edit action for POST/DELETE endpoints
- Refund action for refund-related operations

Also fixes AuthorizationGuard to use userId from clsService instead of
user.id from request for consistency with the abilities cache.
2026-02-16 20:04:48 +02:00
..
2025-06-29 16:55:02 +02:00
wip
2026-01-16 00:23:16 +02:00
2026-01-09 23:38:52 +02:00
2025-04-07 11:51:24 +02:00
2025-04-07 11:51:24 +02:00
2025-04-07 11:51:24 +02:00
2025-04-07 11:51:24 +02:00
2026-01-29 20:37:04 +02:00
2025-04-07 11:51:24 +02:00
2025-04-07 11:51:24 +02:00