Hello community,

here is the log from the commit of package flatpak for openSUSE:Factory checked 
in at 2018-08-02 14:47:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/flatpak (Old)
 and      /work/SRC/openSUSE:Factory/.flatpak.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "flatpak"

Thu Aug  2 14:47:41 2018 rev:20 rq:625914 version:0.11.8.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/flatpak/flatpak.changes  2018-06-26 
10:33:06.724301628 +0200
+++ /work/SRC/openSUSE:Factory/.flatpak.new/flatpak.changes     2018-08-02 
14:47:43.487203024 +0200
@@ -1,0 +2,9 @@
+Mon Jul 23 15:13:44 UTC 2018 - [email protected]
+
+- polkit_rules_usability.patch: Improve usability by allowing members of the
+  group 'wheel' to bypass polkit authentication checks when locally logged in
+  (bnc#984817). This adds a few polkit actions to the rules that are not
+  covered by upstream, because they are set to 'yes' for active users by
+  default. On SUSE we require 'auth_admin' for regular users, however.
+
+-------------------------------------------------------------------

New:
----
  polkit_rules_usability.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ flatpak.spec ++++++
--- /var/tmp/diff_new_pack.LFL2qB/_old  2018-08-02 14:47:44.079204156 +0200
+++ /var/tmp/diff_new_pack.LFL2qB/_new  2018-08-02 14:47:44.083204163 +0200
@@ -25,6 +25,7 @@
 Group:          System/Packages
 URL:            https://flatpak.github.io/
 Source:         %{name}-%{version}.tar.xz
+Patch0:         polkit_rules_usability.patch
 BuildRequires:  bison
 BuildRequires:  bubblewrap >= 0.2.1
 BuildRequires:  docbook-xsl-stylesheets
@@ -112,6 +113,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 NOCONFIGURE=1 ./autogen.sh

++++++ polkit_rules_usability.patch ++++++
Index: flatpak-0.11.8.3/system-helper/org.freedesktop.Flatpak.rules.in
===================================================================
--- flatpak-0.11.8.3.orig/system-helper/org.freedesktop.Flatpak.rules.in
+++ flatpak-0.11.8.3/system-helper/org.freedesktop.Flatpak.rules.in
@@ -3,7 +3,10 @@ polkit.addRule(function(action, subject)
          action.id == "org.freedesktop.Flatpak.runtime-install"||
          action.id == "org.freedesktop.Flatpak.app-uninstall" ||
          action.id == "org.freedesktop.Flatpak.runtime-uninstall" ||
-         action.id == "org.freedesktop.Flatpak.modify-repo") &&
+         action.id == "org.freedesktop.Flatpak.modify-repo" ||
+         action.id == "org.freedesktop.Flatpak.app-update" ||
+         action.id == "org.freedesktop.Flatpak.runtime-update" ||
+         action.id == "org.freedesktop.Flatpak.appstream-update") &&
         subject.active == true && subject.local == true &&
         subject.isInGroup("@privileged_group@")) {
             return polkit.Result.YES;

Reply via email to