]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: rgw: add user-policy caps for the s3tests users 31127/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Thu, 24 Oct 2019 15:01:37 +0000 (17:01 +0200)
committerAbhishek Lekshmanan <abhishek@suse.com>
Wed, 4 Dec 2019 13:32:21 +0000 (14:32 +0100)
This allows user-policy based user tests to be written

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
qa/tasks/s3tests.py

index eb6dc5a6eeb4e6982bcf92ad88b260a4a8aa801e..9bbcc450228e48f21a431f18c6ecd5fd50661b5d 100644 (file)
@@ -125,6 +125,7 @@ def create_users(ctx, config):
                     '--access-key', s3tests_conf[section]['access_key'],
                     '--secret', s3tests_conf[section]['secret_key'],
                     '--email', s3tests_conf[section]['email'],
+                    '--caps', 'user-policy=*',
                     '--cluster', cluster_name,
                 ],
             )