Allow 'wheel' group memebers to modify NM's systemwide connections.

Add polkit rule for this.
This commit is contained in:
Mikhail Efremov 2013-07-11 17:13:05 +04:00
parent dac87613f9
commit 4f93f4c7b7

View File

@ -0,0 +1,6 @@
polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.NetworkManager.settings.modify.system" &&
subject.isInGroup("wheel")) {
return polkit.Result.YES;
};
});