Adding acl permission check for s3