]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: iam: calculate Action_t actions instead of a string
authorAbhishek Lekshmanan <abhishek@suse.com>
Wed, 4 Sep 2019 17:42:07 +0000 (19:42 +0200)
committerAbhishek Lekshmanan <abhishek@suse.com>
Wed, 4 Sep 2019 17:42:07 +0000 (19:42 +0200)
commit1791de53eaf89eed17e32ae5f8a8504610d25957
tree1dde8a032c9fc709023abd2d2b43ff4a7828d66d
parent8e57910eaa7e69cce8be314238c5cc71143ff3ea
rgw: iam: calculate Action_t actions instead of a string

currently every new action added will change 4 iam Action bitsets which require
the string to be modified by hand and validated by hand. Use a function to do
this instead

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/rgw/rgw_iam_policy.h
src/test/rgw/test_rgw_iam_policy.cc