aboutsummaryrefslogtreecommitdiffstats
path: root/community/sxmo-utils/rootfs-etc-polkit-1-rules.d-50-org.freedesktop.NetworkManager.rules
blob: 8aaa868e454a6b3692668afd131777d002836d9e (plain) (blame)
1
2
3
4
5
polkit.addRule(function(action, subject) {
    if (action.id.indexOf("org.freedesktop.NetworkManager.") == 0 && subject.isInGroup("netdev")) {
        return polkit.Result.YES;
    }
});