git-svn-id: https://s3tools.svn.sourceforge.net/svnroot/s3tools/s3cmd/trunk@418 830e0280-6d2a-0410-9c65-932aecc39d9d
Timothee Groleau authored on 2010/06/29 12:52:55... | ... |
@@ -1,3 +1,8 @@ |
1 |
+2010-06-29 Timothee Groleau <kde@timotheegroleau.com> |
|
2 |
+ |
|
3 |
+ * S3/ACL.py: Fix isAnonRead method on Grantees |
|
4 |
+ * ChangeLog: Update name of contributor for Timothee Groleau |
|
5 |
+ |
|
1 | 6 |
2010-06-13 Michal Ludvig <mludvig@logix.net.nz> |
2 | 7 |
|
3 | 8 |
* s3cmd, S3/CloudFront.py: Both [accesslog] and [cfmodify] |
... | ... |
@@ -19,7 +24,7 @@ |
19 | 19 |
2010-05-27 Michal Ludvig <mludvig@logix.net.nz> |
20 | 20 |
|
21 | 21 |
* S3/S3.py: Fix bucket listing for buckets with |
22 |
- over 1000 prefixes. (contributed by Timothee Linden) |
|
22 |
+ over 1000 prefixes. (contributed by Timothee Groleau) |
|
23 | 23 |
* S3/S3.py: Fixed code formating. |
24 | 24 |
|
25 | 25 |
2010-05-21 Michal Ludvig <mludvig@logix.net.nz> |
... | ... |
@@ -35,7 +40,7 @@ |
35 | 35 |
2010-05-20 Michal Ludvig <mludvig@logix.net.nz> |
36 | 36 |
|
37 | 37 |
* s3cmd, S3/ACL.py, S3/Config.py: Support for --acl-grant |
38 |
- and --acl-revoke (contributed by Timothee Linden) |
|
38 |
+ and --acl-revoke (contributed by Timothee Groleau) |
|
39 | 39 |
* s3cmd: Couple of fixes on top of the above commit. |
40 | 40 |
* s3cmd: Pre-parse ACL parameters in OptionS3ACL() |
41 | 41 |
|
... | ... |
@@ -32,7 +32,7 @@ class Grantee(object): |
32 | 32 |
return self.tag == "URI" and self.name == Grantee.ALL_USERS_URI |
33 | 33 |
|
34 | 34 |
def isAnonRead(self): |
35 |
- return self.isAllUsers and self.permission == "READ" |
|
35 |
+ return self.isAllUsers() and (self.permission == "READ" or self.permission == "FULL_CONTROL") |
|
36 | 36 |
|
37 | 37 |
def getElement(self): |
38 | 38 |
el = ET.Element("Grant") |