Correctly handle --with-privileged-group

This commit is contained in:
Alexander Larsson committed 2016-05-24 14:13:34 +02:00
1 parent 949d4eccf7
commit cb41e1bdba
1 file changed
+1 -1
@@ -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;
}
});