]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: RGWAccessKey::decode_json() preserves default value of 'active'
authorCasey Bodley <cbodley@redhat.com>
Tue, 19 Nov 2024 19:02:02 +0000 (14:02 -0500)
committerCasey Bodley <cbodley@redhat.com>
Mon, 25 Nov 2024 13:39:05 +0000 (08:39 -0500)
commit7c197094b004e281030db421f20e2336edec9234
tree0049f17259fb1935e661387c78c8c71bd8f7278c
parent4b802e223519399de32b3b702766ac7a8ec1d989
rgw: RGWAccessKey::decode_json() preserves default value of 'active'

squid added the new "bool active" member that defaults to true, but
RGWAccessKey::decode_json() sets it to false when "active" isn't present

this is an issue for multisite when a squid zone replicates user
metadata from a master zone running reef

Fixes: https://tracker.ceph.com/issues/68985
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 8ba6c2de830129ec0533652a3cb33391b584006d)
src/rgw/rgw_common.cc