]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/op: separate IAM ops in enum RGWOpType
authorCasey Bodley <cbodley@redhat.com>
Sun, 17 Dec 2023 22:47:43 +0000 (17:47 -0500)
committerCasey Bodley <cbodley@redhat.com>
Wed, 10 Apr 2024 17:09:14 +0000 (13:09 -0400)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_op_type.h

index a7a68d4ade5ee21cb1c0499111be29b225c718a2..53ef18696de478a9ac0805295f5b74c55809033a 100644 (file)
@@ -52,19 +52,6 @@ enum RGWOpType {
   RGW_OP_GET_CROSS_DOMAIN_POLICY,
   RGW_OP_GET_HEALTH_CHECK,
   RGW_OP_GET_INFO,
-  RGW_OP_CREATE_ROLE,
-  RGW_OP_DELETE_ROLE,
-  RGW_OP_GET_ROLE,
-  RGW_OP_MODIFY_ROLE_TRUST_POLICY,
-  RGW_OP_LIST_ROLES,
-  RGW_OP_PUT_ROLE_POLICY,
-  RGW_OP_GET_ROLE_POLICY,
-  RGW_OP_LIST_ROLE_POLICIES,
-  RGW_OP_DELETE_ROLE_POLICY,
-  RGW_OP_TAG_ROLE,
-  RGW_OP_LIST_ROLE_TAGS,
-  RGW_OP_UNTAG_ROLE,
-  RGW_OP_UPDATE_ROLE,
   RGW_OP_PUT_BUCKET_POLICY,
   RGW_OP_GET_BUCKET_POLICY,
   RGW_OP_DELETE_BUCKET_POLICY,
@@ -84,6 +71,20 @@ enum RGWOpType {
   RGW_OP_GET_OBJ_RETENTION,
   RGW_OP_PUT_OBJ_LEGAL_HOLD,
   RGW_OP_GET_OBJ_LEGAL_HOLD,
+  // IAM
+  RGW_OP_CREATE_ROLE,
+  RGW_OP_DELETE_ROLE,
+  RGW_OP_GET_ROLE,
+  RGW_OP_MODIFY_ROLE_TRUST_POLICY,
+  RGW_OP_LIST_ROLES,
+  RGW_OP_PUT_ROLE_POLICY,
+  RGW_OP_GET_ROLE_POLICY,
+  RGW_OP_LIST_ROLE_POLICIES,
+  RGW_OP_DELETE_ROLE_POLICY,
+  RGW_OP_TAG_ROLE,
+  RGW_OP_LIST_ROLE_TAGS,
+  RGW_OP_UNTAG_ROLE,
+  RGW_OP_UPDATE_ROLE,
   /* rgw specific */
   RGW_OP_ADMIN_SET_METADATA,
   RGW_OP_GET_OBJ_LAYOUT,