diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-12-11 01:20:38 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-12-11 01:20:38 -0300 |
commit | 40a385851bde11f34ddc58395e34ed4dceacb3f9 (patch) | |
tree | 0678f37cf35d3990ade643d0b47bce165a3c66ac /pcr/networkmanager-consolekit/01-org.freedesktop.NetworkManager.settings.modify.system.rules | |
parent | b952111fe4fc77ed42ee9cca2ed360b9fa322c96 (diff) | |
parent | 47dea6fb6bc00d10b55b1582bd1a76ce82360822 (diff) |
Merge branch 'master' of ssh://projects.parabola.nu/~git/abslibre
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"; + } +}); |