2020-06-17 10:26:33 +02:00
|
|
|
polkit.addRule(function(action, subject) {
|
|
|
|
if ((action.id == "org.corectrl.helper.init" ||
|
|
|
|
action.id == "org.corectrl.helperkiller.init") &&
|
|
|
|
subject.local == true &&
|
|
|
|
subject.active == true &&
|
2021-05-06 19:00:51 +02:00
|
|
|
subject.isInGroup("corectrl")) {
|
2020-06-17 10:26:33 +02:00
|
|
|
return polkit.Result.YES;
|
|
|
|
}
|
|
|
|
});
|