]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/test/rgw/test_rgw_iam_policy.cc
import ceph 16.2.6
[ceph.git] / ceph / src / test / rgw / test_rgw_iam_policy.cc
index 0970540eb197f96c469afd31740beec17808a356..46fd9a2ac4cdf7a4ce5b91db0c122df45be68a31 100644 (file)
@@ -119,11 +119,6 @@ public:
     return 0;
   }
 
-  uint32_t get_identity_type() const override {
-    abort();
-    return 0;
-  }
-
   string get_acct_name() const override {
     abort();
     return 0;
@@ -144,6 +139,10 @@ public:
     }
     return ids.find(id) != ids.end() || ids.find(Principal::wildcard()) != ids.end();
   }
+
+  uint32_t get_identity_type() const override {
+    return TYPE_RGW;
+  }
 };
 
 class PolicyTest : public ::testing::Test {