Allow 'wheel' group memebers to modify NM's systemwide connections.
Add polkit rule for this.
This commit is contained in:
parent
dac87613f9
commit
4f93f4c7b7
@ -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;
|
||||
};
|
||||
});
|
Loading…
x
Reference in New Issue
Block a user