]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw_op: add iam action as RGWOp member
authorAbhishek Lekshmanan <abhishek@suse.com>
Wed, 16 Aug 2017 12:04:44 +0000 (14:04 +0200)
committerAbhishek Lekshmanan <abhishek@suse.com>
Wed, 17 Jan 2018 10:28:56 +0000 (11:28 +0100)
This commit adds iam_action as a member of RGWOp class which allows for
reusing this later when object policies are to be evaluated

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/rgw/rgw_op.h

index 50fbb6865f48936ba04a36fba8151c68edf9f329..a2368d5750bb9e49f84e8183596198ba996c732e 100644 (file)
@@ -115,7 +115,7 @@ protected:
   RGWQuotaInfo bucket_quota;
   RGWQuotaInfo user_quota;
   int op_ret;
-
+  std::uint64_t iam_action;
   int do_aws4_auth_completion();
 
   virtual int init_quota();