summaryrefslogtreecommitdiff
path: root/pcr/networkmanager-consolekit/01-org.freedesktop.ModemManager1.rules
blob: 6df2427c54b00abb0f01d225e854e6fcfc5a1f6e (plain)
1
2
3
4
5
6
polkit.addRule(function(action, subject) {
    if (/^org\.freedesktop\.ModemManager1\.(Device\.Control|Contacts|Messaging|Location)$/.test(action.id) &&
        subject.isInGroup("network")) {
        return "yes";
    }
});