summaryrefslogtreecommitdiff
path: root/pcr/networkmanager-elogind/50-org.freedesktop.NetworkManager.rules
blob: b6fe9c73f60387e309168f3b66bc4d314d6f6e43 (plain)
1
2
3
4
5
polkit.addRule(function(action, subject) {
  if (action.id.indexOf("org.freedesktop.NetworkManager.") == 0 && subject.isInGroup("network")) {
    return polkit.Result.YES;
  }
});