10 lines
307 B
Text
10 lines
307 B
Text
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("egon")) {
|
|
return polkit.Result.YES;
|
|
}
|
|
});
|
|
|