The following code is supposed to work as per the documentation\'s example:
bucket_acl.put({ acl: "private", # accepts private, public-read, public-re