summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohit Motiani <mohit.motiani@intel.com>2016-06-02 17:51:20 +0000
committerJohn Dickinson <me@not.mn>2016-09-14 17:13:12 -0700
commit371f0e3482a6fbf963f6c1d987d48aed19dc8c3e (patch)
treef0ba67c36283e8faeecf92732e366ee39aa067ba
parente05464fbfa03ee6d938c145ede111f4b1e828d58 (diff)
downloadpython-swiftclient-371f0e3482a6fbf963f6c1d987d48aed19dc8c3e.tar.gz
Update help text around container ACL syntax
The patch add the information about the syntax of provding read and write access to the users within a project. The current status is: account:* does not work with tempauth account does not work with keystoneauth Furthermore, the concept of "account" is fuzzy. It could be a "project", but even that doesn't distinguish between a project id and a project name. Change-Id: I4462230fe05aa4a742e825f5b6312deb93bc1170 Closes-Bug: #1587677
-rwxr-xr-xswiftclient/shell.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/swiftclient/shell.py b/swiftclient/shell.py
index 5eafe0b..3e8de7d 100755
--- a/swiftclient/shell.py
+++ b/swiftclient/shell.py
@@ -663,10 +663,12 @@ Positional arguments:
Optional arguments:
-r, --read-acl <acl> Read ACL for containers. Quick summary of ACL syntax:
- .r:*, .r:-.example.com, .r:www.example.com, account1,
- account2:user2
+ .r:*, .r:-.example.com, .r:www.example.com,
+ account1 (v1.0 identity API only),
+ account1:*, account2:user2 (v2.0+ identity API).
-w, --write-acl <acl> Write ACL for containers. Quick summary of ACL syntax:
- account1 account2:user2
+ account1 (v1.0 identity API only),
+ account1:*, account2:user2 (v2.0+ identity API).
-t, --sync-to <sync-to>
Sync To for containers, for multi-cluster replication.
-k, --sync-key <sync-key>