100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Removed role requirement from send notification (security checks are in code logic)
Rich Turner75cacb3b6563
diff --git a/model/src/main/java/org/openremote/model/notification/NotificationResource.java b/model/src/main/java/org/openremote/model/notification/NotificationResource.javaindex 9e57e81d5..85959ef95 100644--- a/model/src/main/java/org/openremote/model/notification/NotificationResource.java+++ b/model/src/main/java/org/openremote/model/notification/NotificationResource.java@@ -97,7 +97,6 @@ public interface NotificationResource {@Path("alert")@SuccessStatusCode(204)@Consumes(APPLICATION_JSON)- @RolesAllowed({"write:user"})@SuppressWarnings("unusable-by-js")void sendNotification(@BeanParam RequestParams requestParams,Notification notification);