Права для критических сообщений CriticalMessage.get

This commit is contained in:
Olga Nemt 2024-09-18 10:06:41 +05:00
parent f0578470f3
commit 3b2ea6e244

View File

@ -65,7 +65,7 @@ public class MessageController : ControllerBase
}
[HttpGet("/api/serviceOperation/[controller]")]
[Permission]
[Permission("CriticalMessage.get")]
[ProducesResponseType(typeof(IEnumerable<StatCriticalMessageDto>), (int)System.Net.HttpStatusCode.OK)]
public async Task<IActionResult> Get([FromQuery] MessageRequest request, CancellationToken token)
{