SpectreOS/polkit/50-org.freedesktop.NetworkManager.rules
2022-10-04 19:01:31 +02:00

5 lines
180 B
Text
Executable file

polkit.addRule(function(action, subject) {
if (action.id.indexOf("org.freedesktop.NetworkManager.") == 0 && subject.isInGroup("network")) {
return polkit.Result.YES;
}
});