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

Object default ACL Grants is empty #859

Closed
evgeniiz321 opened this issue Oct 18, 2023 · 2 comments · Fixed by #915
Closed

Object default ACL Grants is empty #859

evgeniiz321 opened this issue Oct 18, 2023 · 2 comments · Fixed by #915
Assignees
Labels
bug Something isn't working
Milestone

Comments

@evgeniiz321
Copy link

client.put_object(Bucket=bucket_name, Key="foo", Body="bar")
response = client.get_object_acl(Bucket=bucket_name, Key="foo")

It is expected to have a default Grantee(like with buckets) with a Type="CanonicalUser", Permission="FULL_CONTROL" and ID and DisplayName. But currently we have an empty grants list:

{'ResponseMetadata': {'RequestId': '76dfc9ef-a03a-4a95-9c28-4ed5c23b2c07', 'HostId': '', 'HTTPStatusCode': 200, 'HTTPHeaders': {'x-amz-request-id': '76dfc9ef-a03a-4a95-9c28-4ed5c23b2c07', 'date': 'Wed, 18 Oct 2023 02:00:49 GMT', 'content-length': '288', 'content-type': 'text/xml; charset=utf-8'}, 'MaxAttemptsReached': True, 'RetryAttempts': 0}, 'Owner': {'DisplayName': 'NbUgTSFvPmsRxmGeWpuuGeJUoRoi6PErcM', 'ID': 'NbUgTSFvPmsRxmGeWpuuGeJUoRoi6PErcM'}, 
'Grants': []}
@roman-khimov
Copy link
Member

Likely this data can always be provided. We don't have EACL, but who cares, owner still can do anything and that's just an S3 way of saying this.

@smallhive
Copy link
Contributor

Unfortunately not always

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants