configs/arch-config/etc/polkit-1/rules.d/90-corectrl.rules

10 lines
310 B
Plaintext
Raw Permalink Normal View History

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")) {
return polkit.Result.YES;
}
});