]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/notification: trigger notifications on changes from any user 40029/head
authorYuval Lifshitz <ylifshit@redhat.com>
Tue, 17 Nov 2020 11:31:59 +0000 (13:31 +0200)
committerYuval Lifshitz <ylifshit@redhat.com>
Sun, 14 Mar 2021 11:50:38 +0000 (13:50 +0200)
commit0cabc8d5ad98127d1f4438041acdd655bd512961
tree770be64239265bf30bd8217595fbc8824b82f02d
parent943a5082b9668ecda66345afdb61599e82d280b7
rgw/notification: trigger notifications on changes from any user

any user authorized to make changes to a bucket may trigger
notifications defined on that bucket.
manual test procedure of the fix is described here:
https://gist.github.com/yuvalif/39c183aa0f74d286ecef7844268817df

Fixes: https://tracker.ceph.com/issues/48461
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
(cherry picked from commit 658993efc16498c2106108fe407f6d44040f349d)

Conflics:
src/test/rgw/rgw_multi/tests_ps.py
manual changes were made to the tests so they can pass. this does not affect teuthology runs
12 files changed:
doc/radosgw/notifications.rst
doc/radosgw/pubsub-module.rst
src/rgw/rgw_admin.cc
src/rgw/rgw_notify.cc
src/rgw/rgw_pubsub.cc
src/rgw/rgw_pubsub.h
src/rgw/rgw_rest_pubsub.cc
src/rgw/rgw_rest_pubsub_common.cc
src/rgw/rgw_rest_pubsub_common.h
src/rgw/rgw_sync_module_pubsub.cc
src/rgw/rgw_sync_module_pubsub_rest.cc
src/test/rgw/rgw_multi/tests_ps.py