summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_lua_request.cc
diff options
context:
space:
mode:
authorCasey Bodley <cbodley@redhat.com>2024-02-11 18:29:44 +0100
committerCasey Bodley <cbodley@redhat.com>2024-04-10 19:09:16 +0200
commit27fb7178509e1fb8dde132044a0446149ccb6e17 (patch)
treeb65576a4c20b2b12ad1f59f4730496b21a8d0eae /src/rgw/rgw_lua_request.cc
parentrgw/iam: add Group/GroupPolicy APIs (diff)
downloadceph-27fb7178509e1fb8dde132044a0446149ccb6e17.tar.xz
ceph-27fb7178509e1fb8dde132044a0446149ccb6e17.zip
rgw: rename iam_user_policies to iam_identity_policies
identity policies can come from iam groups and roles too Signed-off-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'src/rgw/rgw_lua_request.cc')
-rw-r--r--src/rgw/rgw_lua_request.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rgw/rgw_lua_request.cc b/src/rgw/rgw_lua_request.cc
index 4119d8f93a5..3caad296545 100644
--- a/src/rgw/rgw_lua_request.cc
+++ b/src/rgw/rgw_lua_request.cc
@@ -743,7 +743,7 @@ struct RequestMetaTable : public EmptyMetaTable {
create_metatable<PolicyMetaTable>(L, name, index, false, s->iam_policy.get_ptr());
}
} else if (strcasecmp(index, "UserPolicies") == 0) {
- create_metatable<PoliciesMetaTable>(L, name, index, false, &(s->iam_user_policies));
+ create_metatable<PoliciesMetaTable>(L, name, index, false, &(s->iam_identity_policies));
} else if (strcasecmp(index, "RGWId") == 0) {
pushstring(L, s->host_id);
} else if (strcasecmp(index, "HTTP") == 0) {