0cff86852d
This patch fixes nmtui and nm-applet not authorized to control networking. Signed-off-by: Danct12 <danct12@disroot.org>
5 lines
187 B
Text
5 lines
187 B
Text
polkit.addRule(function(action, subject) {
|
|
if (action.id.indexOf("org.freedesktop.NetworkManager.") == 0 && subject.isInGroup("netdev")) {
|
|
return polkit.Result.YES;
|
|
}
|
|
});
|