90-corectrl.rules 317 B

123456789
  1. polkit.addRule(function(action, subject) {
  2. if ((action.id == "org.corectrl.helper.init" ||
  3. action.id == "org.corectrl.helperkiller.init") &&
  4. subject.local == true &&
  5. subject.active == true &&
  6. subject.isInGroup("your-user-group")) {
  7. return polkit.Result.YES;
  8. }
  9. });