Commit 4f93f4c7 authored by Mikhail Efremov's avatar Mikhail Efremov

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

Add polkit rule for this.
parent dac87613
polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.NetworkManager.settings.modify.system" &&
subject.isInGroup("wheel")) {
return polkit.Result.YES;
};
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment