]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/cephfs: upgrade method authorize in class Filesystem 47013/head
authorRishabh Dave <ridave@redhat.com>
Thu, 7 Jul 2022 12:56:09 +0000 (18:26 +0530)
committerRishabh Dave <ridave@redhat.com>
Thu, 7 Jul 2022 15:48:48 +0000 (21:18 +0530)
commitbe4e39e4c20f9a0849c2f07a293b739ac5831fec
tree009f2efdc753205ee9ed99fd7d024569fe572970
parent7fa69401afd7458c8e79660d822553cca6b8d937
qa/cephfs: upgrade method authorize in class Filesystem

Method authorize currently accepts caps as a list that should be as
follows -

(path1, perm2, path2, perm2)

Modify this method to also accepts caps arranged in following format -

((path1, perm1), (path2, perm2), (path3, perm3))

The latter format is pairs the path and the permission to be set on path
together. This makes the association more apparent and thus it less
prone to human error.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/tasks/cephfs/filesystem.py