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

GetObjectACL: Owner expected to have FULL_CONTROL, got WRITE now #895

Closed
evgeniiz321 opened this issue Nov 3, 2023 · 3 comments
Closed
Assignees
Labels
bug Something isn't working I4 No visible changes S4 Routine U3 Regular
Milestone

Comments

@evgeniiz321
Copy link

test_object_acl_canned_during_create

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

Right now the following response received:

'Grants': [{'Grantee': {'DisplayName': 'NbUgTSFvPmsRxmGeWpuuGeJUoRoi6PErcM', 'ID': '031a6c6fbbdf02ca351745fa86b9ba5a9452d785ac4f7fc2b7548ca2a46c4fcf4a', 'Type': 'CanonicalUser'}, 'Permission': 'WRITE'}, {'Grantee': {'Type': 'Group', 'URI': 'http://acs.amazonaws.com/groups/global/AllUsers'}, 'Permission': 'READ'}]

'Type': 'CanonicalUser' should have FULL_CONTROL, not just WRITE

@evgeniiz321 evgeniiz321 added bug Something isn't working triage labels Nov 3, 2023
@smallhive
Copy link
Contributor

Sure, this behaviour was fixed in #876. It should be ok, when it will be merged

@roman-khimov roman-khimov added this to the v0.30.0 milestone Nov 8, 2023
@roman-khimov
Copy link
Member

@evgeniiz321, please check, #876 doesn't have this issue mentioned unfortunately, but it's merged now.

@roman-khimov roman-khimov added U3 Regular S4 Routine I4 No visible changes labels Dec 20, 2023
@smallhive
Copy link
Contributor

Double checked.
s3: latest master (bcc5e23)
dev-env: af001f8052a203eab408af2bf3a41c7e5af2ac11

S3TEST_CONF=s3tests.conf tox -- s3tests_boto3/functional/test_s3.py::test_object_acl_canned_during_create --disable-warnings

The test is green

1 passed, 11 warnings in 8.72s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working I4 No visible changes S4 Routine U3 Regular
Projects
None yet
Development

No branches or pull requests

3 participants