pmaports/main/postmarketos-base/rootfs-etc-polkit-1-rules.d-50-org.freedesktop.NetworkManager.rules

6 lines
187 B
Text
Raw Normal View History

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