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

Per-object public ACL in private bucket #493

Closed
alexvanin opened this issue Jun 3, 2022 · 2 comments
Closed

Per-object public ACL in private bucket #493

alexvanin opened this issue Jun 3, 2022 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@alexvanin
Copy link
Contributor

can't get-object from private container, even the object was put with public-read acl.
I suggest to fix the test and place it in test_s3_neofs.py.

It's more like new S3 issue to fix object ACLs, isn't it?

1. `main_wallet` creates private container -- extended ACL with 7 `deny` rules for target `OTHER`

2. `main_wallet` sets public read acl for the object -- extended ACL has one more additional `allow` rule to this object for target `OTHER`, it is a first rule in the table

3. `alt_wallet` tries to get object -- without bearer token NeoFS node applies container EACL to request => first rule allows to get object.

As @masterSplinter01 mentioned, we got access deny error because of search request. Which is fair enough, because we do search in the bucket. tree-service branch avoids extra search, so maybe the issue should be gone. Let's investigate that and fix per object public ACL in private containers.

Originally posted by @alexvanin in #487 (comment)

@alexvanin
Copy link
Contributor Author

alexvanin commented Jul 5, 2022

@alexvanin
Copy link
Contributor Author

Closed by #571 #573 #574

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant