7 lines
188 B
Text
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;
|
|
}
|
|
});
|