mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-19 20:25:16 +00:00
Update permission mappings and role permissions
This commit is contained in:
@ -17,7 +17,7 @@ export class SpaceDeviceController {
|
||||
|
||||
@ApiBearerAuth()
|
||||
@UseGuards(PermissionsGuard)
|
||||
@Permissions('VIEW_DEVICE_IN_SPACE')
|
||||
@Permissions('SPACE_DEVICE_VIEW_DEVICE_IN_SPACE')
|
||||
@ApiOperation({
|
||||
summary: ControllerRoute.SPACE_DEVICES.ACTIONS.LIST_SPACE_DEVICE_SUMMARY,
|
||||
description:
|
||||
|
Reference in New Issue
Block a user