summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_rest_user_policy.h
diff options
context:
space:
mode:
authorCasey Bodley <cbodley@redhat.com>2024-02-11 18:17:14 +0100
committerCasey Bodley <cbodley@redhat.com>2024-04-10 19:09:16 +0200
commit6284745661f25c6db0ba5077237c035002153948 (patch)
treeda52ad20817427960fe34a4f69d9f3dc69d4b27e /src/rgw/rgw_rest_user_policy.h
parentrgw/sal: add backend interfaces for group metadata (diff)
downloadceph-6284745661f25c6db0ba5077237c035002153948.tar.xz
ceph-6284745661f25c6db0ba5077237c035002153948.zip
rgw/iam: ListUserPolicies supports Marker/MaxItems
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'src/rgw/rgw_rest_user_policy.h')
-rw-r--r--src/rgw/rgw_rest_user_policy.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rgw/rgw_rest_user_policy.h b/src/rgw/rgw_rest_user_policy.h
index f4188687f86..117226edc27 100644
--- a/src/rgw/rgw_rest_user_policy.h
+++ b/src/rgw/rgw_rest_user_policy.h
@@ -50,6 +50,9 @@ public:
};
class RGWListUserPolicies : public RGWRestUserPolicy {
+ std::string marker;
+ int max_items = 100;
+ int get_params() override;
public:
RGWListUserPolicies();
void execute(optional_yield y) override;