@c8y/ngx-components 1018.0.275 → 1018.0.276

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -303,12 +303,7 @@ class ContextDashboardService {
303
303
  }
304
304
  }
305
305
  canEditDashboard(mo) {
306
- return this.permissions.canEdit([
307
- Permissions.ROLE_INVENTORY_ADMIN,
308
- Permissions.ROLE_INVENTORY_CREATE,
309
- Permissions.ROLE_MANAGED_OBJECT_ADMIN,
310
- Permissions.ROLE_MANAGED_OBJECT_CREATE
311
- ], mo);
306
+ return this.permissions.canEdit([Permissions.ROLE_INVENTORY_ADMIN, Permissions.ROLE_MANAGED_OBJECT_ADMIN], mo);
312
307
  }
313
308
  /**
314
309
  * Checks if user has permissions to copy dashboard according to his roles.