feat: add DEVICE_ADD permission and update device handling logic

This commit is contained in:
faris Aljohari
2025-04-13 20:19:21 +03:00
parent 5bc69f869d
commit a3001c8bb8
6 changed files with 12 additions and 10 deletions

View File

@ -9,6 +9,7 @@ export const RolePermissions = {
'DEVICE_BATCH_CONTROL',
'DEVICE_LOCATION_VIEW',
'DEVICE_LOCATION_UPDATE',
'DEVICE_ADD',
'COMMUNITY_VIEW',
'COMMUNITY_ADD',
'COMMUNITY_UPDATE',
@ -60,6 +61,7 @@ export const RolePermissions = {
'DEVICE_VIEW',
'DEVICE_DELETE',
'DEVICE_UPDATE',
'DEVICE_ADD',
'DEVICE_BATCH_CONTROL',
'DEVICE_LOCATION_VIEW',
'DEVICE_LOCATION_UPDATE',