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

PutBucketACL: "unsupported grantee type" results in 500 status code #908

Closed
evgeniiz321 opened this issue Nov 11, 2023 · 1 comment · Fixed by #926
Closed

PutBucketACL: "unsupported grantee type" results in 500 status code #908

evgeniiz321 opened this issue Nov 11, 2023 · 1 comment · Fixed by #926
Assignees
Labels
bug Something isn't working I4 No visible changes S4 Routine U3 Regular
Milestone

Comments

@evgeniiz321
Copy link

test_bucket_acl_grant_email_not_exist

    grant = {
        "Grantee": {"EmailAddress": NONEXISTENT_EMAIL, "Type": "AmazonCustomerByEmail"},
        "Permission": "FULL_CONTROL",
    }

s3 gw returns 500:

2023-11-11T17:37:38.509Z	error	handler/util.go:29	call method	{"status": 500, "request_id": "c89a5b25-3e28-42dd-a0cc-bbaf2aa17fd6", "method": "PutBucketACL", "bucket": "yournamehere-9rfrvca8saylokmt-1", "object": "", "description": "could not translate acl to policy", "error": "unsupported grantee type"}

Should return either 40x or NotImplemented in this case

@evgeniiz321 evgeniiz321 added bug Something isn't working triage labels Nov 11, 2023
@roman-khimov roman-khimov added this to the v0.30.0 milestone Nov 11, 2023
@roman-khimov roman-khimov added U3 Regular S4 Routine I4 No visible changes labels Dec 20, 2023
@smallhive smallhive self-assigned this Feb 8, 2024
smallhive added a commit that referenced this issue Feb 8, 2024
Closes #908.

Signed-off-by: Evgenii Baidakov <evgenii@nspcc.io>
@smallhive
Copy link
Contributor

Returning not supported error, HTTP 501, not implemented. See #926

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

Successfully merging a pull request may close this issue.

3 participants