Fixed AWS Config S3 ACL issues
- AWS Config appears to have changed how ACLs are returned - This PR makes moto's behavior consistent with AWS Config's S3 representation Fixes #3986
This commit is contained in:
parent
5602c4e73e
commit
ba7a0fe3a2
2 changed files with 25 additions and 5 deletions
|
|
@ -436,10 +436,6 @@ class FakeAcl(BaseModel):
|
|||
)
|
||||
for permission in permissions:
|
||||
for grantee in grant.grantees:
|
||||
# Config does not add the owner if its permissions are FULL_CONTROL:
|
||||
if permission == "FULL_CONTROL" and grantee.id == OWNER:
|
||||
continue
|
||||
|
||||
if grantee.uri:
|
||||
grant_list.append(
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue