mirror of
https://github.com/flatpak/flatpak.git
synced 2026-03-13 12:41:01 -04:00
Correctly handle --with-privileged-group
This commit is contained 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;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user