control: Recieve target in gRPC methods for APE managing #842

Merged
fyrchik merged 2 commits from aarifullin/frostfs-node:feature/chain_control_api into master 2023-12-07 14:22:00 +00:00

2 commits

Author SHA1 Message Date
ec747c217c [#842] control: Pass target instead resource name
All checks were successful
DCO action / DCO (pull_request) Successful in 1m13s
Vulncheck / Vulncheck (pull_request) Successful in 2m11s
Build / Build Components (1.21) (pull_request) Successful in 3m58s
Build / Build Components (1.20) (pull_request) Successful in 4m12s
Tests and linters / Staticcheck (pull_request) Successful in 6m14s
Tests and linters / Lint (pull_request) Successful in 6m53s
Tests and linters / Tests (1.21) (pull_request) Successful in 6m49s
Tests and linters / Tests (1.20) (pull_request) Successful in 7m0s
Tests and linters / Tests with -race (pull_request) Successful in 7m7s
* Update policy-engine package version in go.mod, go.sum.
* Refactor CheckIfRequestPermitted: pass container target
  instead container ID.

Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2023-12-07 13:17:56 +03:00
0bd3e79272 [#842] control: Recieve target in gRPC methods for APE managing
* Introduce Target type and pass it to all gRPC methods
  for APE chain managing instead CID.

Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2023-12-07 13:17:46 +03:00