mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-16 10:46:17 +00:00
added space model delete
This commit is contained in:
@ -281,6 +281,10 @@ export class ControllerRoute {
|
||||
public static readonly UPDATE_SPACE_MODEL_SUMMARY = 'Update Space Model';
|
||||
public static readonly UPDATE_SPACE_MODEL_DESCRIPTION =
|
||||
'This endpoint allows you to update a Space Model attributesas well as manage its associated Subspaces and Device';
|
||||
|
||||
public static readonly DELETE_SPACE_MODEL_SUMMARY = 'Delete Space Model';
|
||||
public static readonly DELETE_SPACE_MODEL_DESCRIPTION =
|
||||
'This endpoint allows you to delete a specified Space Model within a project. Deleting a Space Model disables the model and all its associated subspaces and tags, ensuring they are no longer active but remain in the system for auditing.';
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -12,7 +12,8 @@ export const PermissionMapping = {
|
||||
'ADD',
|
||||
'UPDATE',
|
||||
'DELETE',
|
||||
'MODULE_ADD',
|
||||
'MODEL_ADD',
|
||||
'MODEL_DELETE',
|
||||
'MODEL_VIEW',
|
||||
'ASSIGN_USER_TO_SPACE',
|
||||
'DELETE_USER_FROM_SPACE',
|
||||
|
@ -16,9 +16,10 @@ export const RolePermissions = {
|
||||
'SPACE_ADD',
|
||||
'SPACE_UPDATE',
|
||||
'SPACE_DELETE',
|
||||
'SPACE_MODULE_ADD',
|
||||
'SPACE_MODEL_ADD',
|
||||
'SPACE_MODEL_VIEW',
|
||||
'SPACE_MODEL_UPDATE',
|
||||
'SPACE_MODEL_DELETE',
|
||||
'ASSIGN_USER_TO_SPACE',
|
||||
'DELETE_USER_FROM_SPACE',
|
||||
'SUBSPACE_VIEW',
|
||||
@ -61,9 +62,10 @@ export const RolePermissions = {
|
||||
'SPACE_ADD',
|
||||
'SPACE_UPDATE',
|
||||
'SPACE_DELETE',
|
||||
'SPACE_MODULE_ADD',
|
||||
'SPACE_MODEL_ADD',
|
||||
'SPACE_MODEL_VIEW',
|
||||
'SPACE_MODEL_UPDATE',
|
||||
'SPACE_MODEL_DELETE',
|
||||
'ASSIGN_USER_TO_SPACE',
|
||||
'DELETE_USER_FROM_SPACE',
|
||||
'SUBSPACE_VIEW',
|
||||
|
Reference in New Issue
Block a user