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