Permalink
Browse files

* S3/ACL.py: Fix isAnonRead method on Grantees

* ChangeLog: Update name of contributor for Timothee Groleau


git-svn-id: https://s3tools.svn.sourceforge.net/svnroot/s3tools/s3cmd/trunk@418 830e0280-6d2a-0410-9c65-932aecc39d9d
  • Loading branch information...
1 parent 7bc0fc6 commit 121face850ccdc3f6ac2e0c8570ad450ca22c0f1 timotheeg committed Jun 29, 2010
Showing with 8 additions and 3 deletions.
  1. +7 −2 ChangeLog
  2. +1 −1 S3/ACL.py
View
@@ -1,3 +1,8 @@
+2010-06-29 Timothee Groleau <kde@timotheegroleau.com>
+
+ * S3/ACL.py: Fix isAnonRead method on Grantees
+ * ChangeLog: Update name of contributor for Timothee Groleau
+
2010-06-13 Michal Ludvig <mludvig@logix.net.nz>
* s3cmd, S3/CloudFront.py: Both [accesslog] and [cfmodify]
@@ -19,7 +24,7 @@
2010-05-27 Michal Ludvig <mludvig@logix.net.nz>
* S3/S3.py: Fix bucket listing for buckets with
- over 1000 prefixes. (contributed by Timothee Linden)
+ over 1000 prefixes. (contributed by Timothee Groleau)
* S3/S3.py: Fixed code formating.
2010-05-21 Michal Ludvig <mludvig@logix.net.nz>
@@ -35,7 +40,7 @@
2010-05-20 Michal Ludvig <mludvig@logix.net.nz>
* s3cmd, S3/ACL.py, S3/Config.py: Support for --acl-grant
- and --acl-revoke (contributed by Timothee Linden)
+ and --acl-revoke (contributed by Timothee Groleau)
* s3cmd: Couple of fixes on top of the above commit.
* s3cmd: Pre-parse ACL parameters in OptionS3ACL()
View
@@ -32,7 +32,7 @@ def isAllUsers(self):
return self.tag == "URI" and self.name == Grantee.ALL_USERS_URI
def isAnonRead(self):
- return self.isAllUsers and self.permission == "READ"
+ return self.isAllUsers() and (self.permission == "READ" or self.permission == "FULL_CONTROL")
def getElement(self):
el = ET.Element("Grant")

0 comments on commit 121face

Please sign in to comment.