feat(auth): regate payment, booking and wagon reads

Payment summary/all moved off bookings:view onto payments:view, the
booking list now requires bookings:view for staff instead of accepting
any employee, and wagon reads require wagons:view or fleet:view rather
than bare authentication.
This commit is contained in:
Nathnael
2026-08-07 07:41:00 +00:00
parent 47ea54df1b
commit d4917bc6ec
3 changed files with 8 additions and 8 deletions

View File

@@ -212,7 +212,7 @@ export class BookingsController {
}
@Get()
@MixedAudience([])
@MixedAudience(FREIGHT_PERMS.bookings.view)
@ApiOperation({ summary: "List freight bookings (paginated)" })
async findAll(
@Query() filter: FilterBookingDto,