blob: 113306bf1a456d1dadfdbe021cbedb315bda5619 (
plain)
1
2
3
4
5
6
7
8
|
polkit.addRule(function(action, subject) {
if ((action.id == "org.freedesktop.XdgApp.app-install" ||
action.id == "org.freedesktop.XdgApp.runtime-install") &&
subject.active == true && subject.local == true &&
subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
});
|