From: Arvin Schnell Date: Fri, 8 Dec 2023 08:08:44 +0000 (+0100) Subject: - drop permissions check in GetPluginsReport and ClearPluginsReport X-Git-Tag: v0.11.0~57^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F857%2Fhead;p=thirdparty%2Fsnapper.git - drop permissions check in GetPluginsReport and ClearPluginsReport --- diff --git a/package/snapper.changes b/package/snapper.changes index 3b53926b..1e05f94b 100644 --- a/package/snapper.changes +++ b/package/snapper.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Dec 08 09:06:30 CET 2023 - aschnell@suse.com + +- drop permissions check in GetPluginsReport and ClearPluginsReport + (gh#openSUSE/snapper#856) + ------------------------------------------------------------------- Tue Nov 28 08:22:41 CET 2023 - aschnell@suse.com diff --git a/server/Client.cc b/server/Client.cc index 68f89d79..0309d24e 100644 --- a/server/Client.cc +++ b/server/Client.cc @@ -1738,7 +1738,7 @@ Client::get_plugins_report(DBus::Connection& conn, DBus::Message& msg) boost::unique_lock lock(big_mutex); - check_permission(conn, msg); + // No permission check here: The report belongs to the client. DBus::MessageMethodReturn reply(msg); @@ -1756,7 +1756,7 @@ Client::clear_plugins_report(DBus::Connection& conn, DBus::Message& msg) boost::unique_lock lock(big_mutex); - check_permission(conn, msg); + // No permission check here: The report belongs to the client. DBus::MessageMethodReturn reply(msg);