import boto
all_users = 'http://acs.amazonaws.com/groups/global/AllUsers'
conn = boto.connect_s3()
bucket = conn.get_bucket('mybucket')
for key in bucket:
    readable = False
acl = key.get_acl()
for grant in acl.acl.grants:
    if grant.permission == 'READ':
        if grant.uri == all_users:
            readable = True
if not readable:
    key.make_public()
Как я могу программно проверить разрешения Amazon S3 с помощью boto?