WIP: ape: Add container source to object policy checker #1045

Closed
alexvanin wants to merge 1 commit from alexvanin/frostfs-node:fix/object-ape-cnr-src into support/v0.38
Owner

Some external services expect that $Container:ownerID works for both container service and object service requests, because object operations are always executed within specific container.

Consider this PR as a proof-of-concept how container owner may be checked in object service. Feel free to modify or decline.

/cc @aarifullin, @fyrchik

Some external services expect that `$Container:ownerID` works for both container service and object service requests, because object operations are always executed within specific container. Consider this PR as a proof-of-concept how container owner may be checked in object service. Feel free to modify or decline. /cc @aarifullin, @fyrchik
alexvanin added 1 commit 2024-03-14 18:18:54 +00:00
ape: Add container source to object policy checker
Some checks failed
DCO action / DCO (pull_request) Failing after 3m8s
Vulncheck / Vulncheck (pull_request) Failing after 3m47s
Tests and linters / Staticcheck (pull_request) Failing after 4m22s
Build / Build Components (1.21) (pull_request) Successful in 4m25s
Build / Build Components (1.20) (pull_request) Successful in 4m32s
Tests and linters / gopls check (pull_request) Failing after 5m7s
Tests and linters / Lint (pull_request) Successful in 7m14s
Tests and linters / Tests (1.20) (pull_request) Failing after 7m13s
Tests and linters / Tests (1.21) (pull_request) Failing after 7m19s
Tests and linters / Tests with -race (pull_request) Failing after 7m21s
f41d743203
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
fyrchik closed this pull request 2024-03-15 07:31:26 +00:00
Some checks failed
DCO action / DCO (pull_request) Failing after 3m8s
Vulncheck / Vulncheck (pull_request) Failing after 3m47s
Tests and linters / Staticcheck (pull_request) Failing after 4m22s
Build / Build Components (1.21) (pull_request) Successful in 4m25s
Build / Build Components (1.20) (pull_request) Successful in 4m32s
Tests and linters / gopls check (pull_request) Failing after 5m7s
Tests and linters / Lint (pull_request) Successful in 7m14s
Tests and linters / Tests (1.20) (pull_request) Failing after 7m13s
Tests and linters / Tests (1.21) (pull_request) Failing after 7m19s
Tests and linters / Tests with -race (pull_request) Failing after 7m21s

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#1045
No description provided.