diff options
Diffstat (limited to 'pcr/networkmanager-consolekit/50-org.freedesktop.NetworkManager.rules')
-rw-r--r-- | pcr/networkmanager-consolekit/50-org.freedesktop.NetworkManager.rules | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pcr/networkmanager-consolekit/50-org.freedesktop.NetworkManager.rules b/pcr/networkmanager-consolekit/50-org.freedesktop.NetworkManager.rules new file mode 100644 index 000000000..b6fe9c73f --- /dev/null +++ b/pcr/networkmanager-consolekit/50-org.freedesktop.NetworkManager.rules @@ -0,0 +1,5 @@ +polkit.addRule(function(action, subject) { + if (action.id.indexOf("org.freedesktop.NetworkManager.") == 0 && subject.isInGroup("network")) { + return polkit.Result.YES; + } +}); |