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

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

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
DCO action / DCO (pull_request) Failing after 3m8s Details
Vulncheck / Vulncheck (pull_request) Failing after 3m47s Details
Tests and linters / Staticcheck (pull_request) Failing after 4m22s Details
Build / Build Components (1.21) (pull_request) Successful in 4m25s Details
Build / Build Components (1.20) (pull_request) Successful in 4m32s Details
Tests and linters / gopls check (pull_request) Failing after 5m7s Details
Tests and linters / Lint (pull_request) Successful in 7m14s Details
Tests and linters / Tests (1.20) (pull_request) Failing after 7m13s Details
Tests and linters / Tests (1.21) (pull_request) Failing after 7m19s Details
Tests and linters / Tests with -race (pull_request) Failing after 7m21s Details
f41d743203
ape: Add container source to object policy checker
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 Assignees
1 Participants
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
There is no content yet.