From af343626a70dd48f26d354216150a9feb0b85451 Mon Sep 17 00:00:00 2001 From: ngfrolov Date: Thu, 21 Dec 2023 15:31:15 +0500 Subject: [PATCH] remove permissions on get requests --- AsbCloudWebApi/Controllers/SAUB/GtrWitsController.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/AsbCloudWebApi/Controllers/SAUB/GtrWitsController.cs b/AsbCloudWebApi/Controllers/SAUB/GtrWitsController.cs index aab78cd3..f4cfe0b4 100644 --- a/AsbCloudWebApi/Controllers/SAUB/GtrWitsController.cs +++ b/AsbCloudWebApi/Controllers/SAUB/GtrWitsController.cs @@ -45,7 +45,6 @@ namespace AsbCloudWebApi.Controllers.SAUB /// Токен завершения задачи /// [HttpGet("{idWell}")] - [Permission] public async Task>> GetDataAsync([Required] int idWell, [FromQuery] GtrWithGetDataRequest request, CancellationToken token) @@ -75,7 +74,6 @@ namespace AsbCloudWebApi.Controllers.SAUB /// /// [HttpGet("{idWell}/{idRecord}")] - [Permission] public async Task>> GetLastDataByRecordIdAsync(int idWell, int idRecord, CancellationToken token) { int? idCompany = User.GetCompanyId();