I am writing the code to grant READ permissions to all users using aws-sdk gem. In the documentation for the gem, I found the following:
bucket.objects.each do |object|
puts object.key
acl = object.acl
acl.grant(:read).to("TODO: how can I specify 'ALL'???")
object.acl = acl.to_xml
end
It all makes sense, however, I'm not quite sure how can I tell the grant read permission to ALL users?