mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 19:58:11 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user