Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node/acl: fix acl checks for non-container nodes #2913

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

carpawell
Copy link
Member

Split objects are validated and it required to do some additional requests for it. Such operation can be restricted for a non-container node, so checking for it is an unsolvable problem, skip ACL checks in such cases. Closes #2909.

Split objects are validated and it required to do some additional requests for
it. Such operation can be restricted for a non-container node, so checking for
it is an unsolvable problem, skip ACL checks in such cases.
Closes #2909.

Signed-off-by: Pavel Karpy <[email protected]>
@carpawell
Copy link
Member Author

Checked with the initial testcase for this issue: now it fails with a different problem (: But objects are PUT and it does not seem to be this issue anymore.

Copy link

codecov bot commented Aug 9, 2024

Codecov Report

Attention: Patch coverage is 0% with 25 lines in your changes missing coverage. Please review.

Project coverage is 23.51%. Comparing base (c4fda9d) to head (4756b5c).
Report is 1 commits behind head on master.

Files Patch % Lines
cmd/neofs-node/object.go 0.00% 14 Missing ⚠️
pkg/services/object/acl/v2/service.go 0.00% 10 Missing ⚠️
pkg/services/object/acl/v2/opts.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2913      +/-   ##
==========================================
- Coverage   23.53%   23.51%   -0.02%     
==========================================
  Files         776      776              
  Lines       45302    45324      +22     
==========================================
  Hits        10660    10660              
- Misses      33792    33814      +22     
  Partials      850      850              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@roman-khimov roman-khimov merged commit 6200a96 into master Aug 12, 2024
20 of 22 checks passed
@roman-khimov roman-khimov deleted the fix/acl-checks-by-non-contianer-node branch August 12, 2024 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Impossible to put big object via non-container node without HEAD allowed
2 participants