Skip to content

object/get: make internal payload-only GETs conditional on eACL recheck#4029

Merged
roman-khimov merged 1 commit into
masterfrom
header-for-eacl-recheck-when-needed
Jun 22, 2026
Merged

object/get: make internal payload-only GETs conditional on eACL recheck#4029
roman-khimov merged 1 commit into
masterfrom
header-for-eacl-recheck-when-needed

Conversation

@End-rey

@End-rey End-rey commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Closes #4028.

@codecov

codecov Bot commented Jun 19, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 38.46154% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 26.76%. Comparing base (c54d045) to head (e7bef8f).

Files with missing lines Patch % Lines
pkg/services/object/get/get.go 33.33% 2 Missing ⚠️
pkg/services/object/get/prm.go 0.00% 2 Missing ⚠️
pkg/services/object/get/util.go 0.00% 2 Missing ⚠️
pkg/services/object/server.go 0.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4029   +/-   ##
=======================================
  Coverage   26.75%   26.76%           
=======================================
  Files         688      688           
  Lines       46710    46721   +11     
=======================================
+ Hits        12497    12504    +7     
- Misses      33064    33069    +5     
+ Partials     1149     1148    -1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@roman-khimov roman-khimov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good, but let's wait for #4021 to get in first.

@roman-khimov

Copy link
Copy Markdown
Member

Conflicts.

Propagate the existing `recheckEACL` signal through the GET path and use it when
preparing internal remote GET requests. Mark internal requests as payload-only
only when no header-based eACL recheck is needed. If recheck may be required,
keep fetching the header so matching eACL rules can still be evaluated
correctly.

Closes #4028.

Signed-off-by: Andrey Butusov <andrey@nspcc.io>
@End-rey End-rey force-pushed the header-for-eacl-recheck-when-needed branch from b4da6c2 to e7bef8f Compare June 22, 2026 14:05
@roman-khimov roman-khimov merged commit 47d122f into master Jun 22, 2026
20 of 21 checks passed
@roman-khimov roman-khimov deleted the header-for-eacl-recheck-when-needed branch June 22, 2026 15:10
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.

Request header only when needed for EACL recheck

3 participants