]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/policy: Allow logging policy evaluation
authorAdam C. Emerson <aemerson@redhat.com>
Thu, 25 Jun 2026 20:48:08 +0000 (16:48 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Tue, 21 Jul 2026 21:55:08 +0000 (17:55 -0400)
commit7bdb627a85c18ea9bb24f3239e21d0aaddf1dc0e
treebe44f44d76c81ba937f9f8886c171252df2b2681
parent7582c3200f683e5d248ea25385e2f571e3efa0b4
rgw/policy: Allow logging policy evaluation

When the `rgw_copious_policy_logging` option is set to true, a
detailed trace of policy evaluation is logged.

Assisted-by: Claude Opus 4.6 <noreply@anthropic.com>
(I wanted to see how it performed on rebase conflict resolution.)
Assisted-by: Claude Fable 5 <noreply@anthropic.com>
(I figured I should have it look at the policy evaluation code for
bugs while it's included, and it found a few mistakes in output.)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/common/options/rgw.yaml.in
src/rgw/rgw_bucket_logging.cc
src/rgw/rgw_common.cc
src/rgw/rgw_iam_policy.cc
src/rgw/rgw_iam_policy.h
src/rgw/rgw_iam_policy_keywords.h
src/rgw/rgw_op.cc
src/rgw/rgw_rest_sts.cc
src/test/rgw/test_rgw_iam_policy.cc