sxmo-utils/configs/polkit/00-sxmo.rules
2020-07-12 19:29:46 -05:00

7 lines
188 B
Text

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