diff --git a/AsbCloudWebApi/Controllers/SAUB/MessageController.cs b/AsbCloudWebApi/Controllers/SAUB/MessageController.cs index 1b56c086..41f5348d 100644 --- a/AsbCloudWebApi/Controllers/SAUB/MessageController.cs +++ b/AsbCloudWebApi/Controllers/SAUB/MessageController.cs @@ -65,7 +65,7 @@ public class MessageController : ControllerBase } [HttpGet("/api/serviceOperation/[controller]")] - [Permission] + [Permission("CriticalMessage.get")] [ProducesResponseType(typeof(IEnumerable), (int)System.Net.HttpStatusCode.OK)] public async Task Get([FromQuery] MessageRequest request, CancellationToken token) {