From: Adam Emerson Date: Fri, 24 Jul 2026 16:42:31 +0000 (-0400) Subject: Merge pull request #67732 from adamemerson/wip-policy-ux X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f4a2c0e7f353148a02091cc205c7b2cdac2f6a82;p=ceph.git Merge pull request #67732 from adamemerson/wip-policy-ux rgw: Policy evalaution logging Reviewed-by: Matthew N. Heler Reviewed-by: Oguzhan Ozmen --- f4a2c0e7f353148a02091cc205c7b2cdac2f6a82 diff --cc src/rgw/CMakeLists.txt index 7e3ec254cc8,c80a7a457c0..8b43e094bb2 --- a/src/rgw/CMakeLists.txt +++ b/src/rgw/CMakeLists.txt @@@ -926,11 -666,14 +926,17 @@@ set(radosgw_polparser_src rgw_polparser.cc) add_executable(rgw-policy-check ${radosgw_polparser_srcs}) target_link_libraries(rgw-policy-check ${rgw_libs}) +if(WITH_RADOSGW_RADOS) + target_compile_OPTIONS(rgw-policy-check PUBLIC "-DWITH_RADOSGW_RADOS") +endif() install(TARGETS rgw-policy-check DESTINATION bin) + set(radosgw_poltester_srcs + rgw_poltester.cc) + add_executable(rgw-policy-test ${radosgw_poltester_srcs}) + target_link_libraries(rgw-policy-test ${rgw_libs}) + install(TARGETS rgw-policy-test DESTINATION bin) + set(librgw_srcs librgw.cc) add_library(rgw SHARED ${librgw_srcs})