]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: Add `rgw_policy_reject_invalid_principals` and messages
authorAdam C. Emerson <aemerson@redhat.com>
Tue, 13 Dec 2022 01:40:33 +0000 (20:40 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Tue, 13 Dec 2022 21:35:05 +0000 (16:35 -0500)
commit0dd2ef42459776111d749e5f11e0da2c25bc3ef1
tree5073abc8a5932eb3fe59c94572ce4d0c6f9abf82
parent613e0108be712e6b895419210d2ceac621bc71b8
rgw: Add `rgw_policy_reject_invalid_principals` and messages

Reject policies with invalid principals by default and provide more
useful error messages while doing so.

(Log them but do *not* reject the policy if it's set to false.)

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
PendingReleaseNotes
src/common/options/rgw.yaml.in
src/rgw/rgw_admin.cc
src/rgw/rgw_auth.cc
src/rgw/rgw_iam_policy.cc
src/rgw/rgw_iam_policy.h
src/rgw/rgw_op.cc
src/rgw/rgw_rest_role.cc
src/rgw/rgw_rest_sts.cc
src/rgw/rgw_rest_user_policy.cc
src/test/rgw/test_rgw_iam_policy.cc