I'm new in S3 buckets and currently I'm testing permissions. I applied following ACL for the bucket (owned by user1) so I expected user2 is able to see it and delete but it didn't happen. Could you tell my what is wrong?
{
"Owner": {
"DisplayName": "USER1",
"ID": "USER1"
},
"Grants": [
{
"Grantee": {
"DisplayName": "USER1",
"ID": "USER1",
"Type": "CanonicalUser"
},
"Permission": "FULL_CONTROL"
},
{
"Grantee": {
"DisplayName": "USER2",
"ID": "USER2",
"Type": "CanonicalUser"
},
"Permission": "FULL_CONTROL"
}
]
}
I'm using aws s3api to set this.