summaryrefslogtreecommitdiffstats
path: root/source/n/NetworkManager/10-org.freedesktop.NetworkManager.rules
blob: 9d6557b3bfd757bbd455d29a428775c89ee4137f (about) (plain) (blame)
1
2
3
4
5
6
7
polkit.addRule(function(action, subject) {
  if (action.id.indexOf("org.freedesktop.NetworkManager.") == 0 && 
      subject.isInGroup("netdev")) {
      return polkit.Result.YES;
  }
});