aboutsummaryrefslogtreecommitdiffstats
path: root/community/sxmo-utils/rootfs-etc-polkit-1-rules.d-00-sxmo.rules
blob: c1b52ddaad3fa1693d7daf87bd7735f6bd6e3fdb (plain) (blame)
1
2
3
4
5
6
7
polkit.addRule(function(action, subject) {
  if (action.id.indexOf("org.freedesktop.ModemManager1.") == 0 &&
      subject.isInGroup("plugdev")) {

      return polkit.Result.YES;
  }
});