SpectreOS/polkit/50-org.freedesktop.NetworkManager.rules

6 lines
180 B
Text
Raw Normal View History

2022-10-04 19:01:31 +02:00
polkit.addRule(function(action, subject) {
if (action.id.indexOf("org.freedesktop.NetworkManager.") == 0 && subject.isInGroup("network")) {
return polkit.Result.YES;
}
});