diff options
Diffstat (limited to 'pcr/consolekit/01-org.freedesktop.NetworkManager.settings.modify.system.rules')
-rw-r--r-- | pcr/consolekit/01-org.freedesktop.NetworkManager.settings.modify.system.rules | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pcr/consolekit/01-org.freedesktop.NetworkManager.settings.modify.system.rules b/pcr/consolekit/01-org.freedesktop.NetworkManager.settings.modify.system.rules new file mode 100644 index 000000000..ef002c904 --- /dev/null +++ b/pcr/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") && subject.active) { + return "yes"; + } +}); |