forked from ddrilling/AsbCloudServer
remove permissions on get requests
This commit is contained in:
parent
85d0aca9a8
commit
af343626a7
@ -45,7 +45,6 @@ namespace AsbCloudWebApi.Controllers.SAUB
|
|||||||
/// <param name = "token" >Токен завершения задачи</param>
|
/// <param name = "token" >Токен завершения задачи</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
[HttpGet("{idWell}")]
|
[HttpGet("{idWell}")]
|
||||||
[Permission]
|
|
||||||
public async Task<ActionResult<IEnumerable<WitsRecordDto>>> GetDataAsync([Required] int idWell,
|
public async Task<ActionResult<IEnumerable<WitsRecordDto>>> GetDataAsync([Required] int idWell,
|
||||||
[FromQuery] GtrWithGetDataRequest request,
|
[FromQuery] GtrWithGetDataRequest request,
|
||||||
CancellationToken token)
|
CancellationToken token)
|
||||||
@ -75,7 +74,6 @@ namespace AsbCloudWebApi.Controllers.SAUB
|
|||||||
/// <param name="token"></param>
|
/// <param name="token"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
[HttpGet("{idWell}/{idRecord}")]
|
[HttpGet("{idWell}/{idRecord}")]
|
||||||
[Permission]
|
|
||||||
public async Task<ActionResult<IEnumerable<WitsItemRecordDto>>> GetLastDataByRecordIdAsync(int idWell, int idRecord, CancellationToken token)
|
public async Task<ActionResult<IEnumerable<WitsItemRecordDto>>> GetLastDataByRecordIdAsync(int idWell, int idRecord, CancellationToken token)
|
||||||
{
|
{
|
||||||
int? idCompany = User.GetCompanyId();
|
int? idCompany = User.GetCompanyId();
|
||||||
|
Loading…
Reference in New Issue
Block a user