mirror of
https://github.com/nspcc-dev/neofs-api.git
synced 2026-03-01 04:28:54 +00:00
Create container with EACL #131
Labels
No labels
I0
I1
I2
I3
I4
S0
S1
S2
S3
S3
S4
U2
U3
U4
bug
discussion
discussion
documentation
enhancement
enhancement
enhancement
feature
good first issue
question
task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/neofs-api#131
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @roman-khimov on GitHub (Aug 6, 2025).
Is your feature request related to a problem? Please describe.
I'm always frustrated when I think of create+setEACL pair. It's error-prone and racy in many ways. There is always a window of time when container is completely open between creation and EACL setting.
Describe the solution you'd like
Provide function to do both atomically. Unfortunately it also requires NeoFS API changes.
Describe alternatives you've considered
Leave this source of trouble.
Additional context
https://github.com/nspcc-dev/neofs-s3-gw/issues/1184
@roman-khimov commented on GitHub (Dec 5, 2025):
We can do it at the FS API level as well, a transaction can have multiple calls without any problem, so contract interface can be left as is while nodes will create a transaction that does both things.
@roman-khimov commented on GitHub (Dec 8, 2025):
Extend creation API to accept EACL as well.