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/put: Fix fetching first object for a first object #2828

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

carpawell
Copy link
Member

If we are checking a first object, it is impossible to HEAD the first object to check ACL rules, get its parent directly from the header instead. It is also an optimization for last and LINK object ACL checks (they have a parent in the header too).

If we are checking a first object, it is impossible to HEAD the first object
to check ACL rules, get its parent directly from the header instead. It is also
an optimization for last and LINK object ACL checks (they have a parent in the
header too).

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
@roman-khimov roman-khimov merged commit 8ceb0c9 into master Apr 23, 2024
13 of 14 checks passed
@roman-khimov roman-khimov deleted the fix/acl-by-attributes-for-first-objects branch April 23, 2024 19:23
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.

2 participants