]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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)
committerCasey Bodley <cbodley@redhat.com>
Tue, 29 Apr 2025 14:22:47 +0000 (10:22 -0400)
commit876bea14c48882c01028bcd2d1550ea7c2286aad
tree731b3440673b1d45b02eef63b879e84424870d52
parent520ac0185eed1a1dabfacb933eadf3de7de18884
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>
(cherry picked from commit 1a253ea065a5de9636b769b41cc46a4fbc18c3f8)
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