summaryrefslogtreecommitdiff
path: root/system-helper
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-05-24 14:13:34 +0200
committerAlexander Larsson <alexl@redhat.com>2016-05-24 14:13:34 +0200
commitcb41e1bdba74240fc9bda5ea9d95f82928113db7 (patch)
tree643817a015c91a7a277b8e12f922ef48f8c80d1b /system-helper
parent949d4eccf7d2703bafe044eb2b527dee7bb4d58a (diff)
downloadflatpak-cb41e1bdba74240fc9bda5ea9d95f82928113db7.tar.gz
Correctly handle --with-privileged-group
Diffstat (limited to 'system-helper')
-rw-r--r--system-helper/org.freedesktop.Flatpak.rules.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/system-helper/org.freedesktop.Flatpak.rules.in b/system-helper/org.freedesktop.Flatpak.rules.in
index c1ce8ee6..4b8be531 100644
--- a/system-helper/org.freedesktop.Flatpak.rules.in
+++ b/system-helper/org.freedesktop.Flatpak.rules.in
@@ -2,7 +2,7 @@ polkit.addRule(function(action, subject) {
if ((action.id == "org.freedesktop.Flatpak.app-install" ||
action.id == "org.freedesktop.Flatpak.runtime-install") &&
subject.active == true && subject.local == true &&
- subject.isInGroup("wheel")) {
+ subject.isInGroup("@privileged_group@")) {
return polkit.Result.YES;
}
});