You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
272B

  1. polkit.addRule(function(action, subject) {
  2. if ((action.id == "org.blueman.rfkill.setstate" ||
  3. action.id == "org.blueman.network.setup") &&
  4. subject.local && subject.active && subject.isInGroup("netdev")) {
  5. return polkit.Result.YES;
  6. }
  7. });