]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: change is_admin_of() to is_admin()
authorSeena Fallah <seenafallah@gmail.com>
Thu, 17 Apr 2025 22:09:12 +0000 (00:09 +0200)
committerSeena Fallah <seenafallah@gmail.com>
Mon, 28 Apr 2025 16:56:06 +0000 (18:56 +0200)
commit1a253ea065a5de9636b769b41cc46a4fbc18c3f8
tree3bc3f939fba1922cc45ff8312b14bbe7956d90f9
parentc8aca216f7d186e4e8391a284d14948afd414957
rgw: change is_admin_of() to is_admin()

As admin propery of a user is something global and nothing related
to any other owner, we don't need any comparision.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
12 files changed:
src/rgw/driver/rados/rgw_rest_user.cc
src/rgw/rgw_auth.cc
src/rgw/rgw_auth.h
src/rgw/rgw_auth_filters.h
src/rgw/rgw_lib.cc
src/rgw/rgw_op.cc
src/rgw/rgw_process.cc
src/rgw/rgw_rest_s3.cc
src/rgw/rgw_sts.cc
src/rgw/rgw_swift_auth.h
src/test/rgw/test_rgw_iam_policy.cc
src/test/rgw/test_rgw_lua.cc