Corectrl shouldn't ask for the password anymore
This commit is contained in:
parent
274977fa8f
commit
c7213e5e55
9
arch-config/etc/polkit-1/rules.d/90-corectrl.rules
Normal file
9
arch-config/etc/polkit-1/rules.d/90-corectrl.rules
Normal 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;
|
||||
}
|
||||
});
|
Loading…
Reference in New Issue
Block a user