Corectrl shouldn't ask for the password anymore

This commit is contained in:
RealStickman 2020-06-17 08:26:33 +00:00
parent 274977fa8f
commit c7213e5e55

View File

@ -0,0 +1,9 @@
polkit.addRule(function(action, subject) {
if ((action.id == "org.corectrl.helper.init" ||
action.id == "org.corectrl.helperkiller.init") &&
subject.local == true &&
subject.active == true &&
subject.isInGroup("marc")) {
return polkit.Result.YES;
}
});