blob: aeb42345098ad8f1c891ce4352b94356c9ec1fa2 (
plain)
1
2
3
4
5
6
7
|
polkit.addRule(function(action, subject) {
if ((action.id == "org.freedesktop.ModemManager1.Device.Control" ||
action.id == "org.freedesktop.ModemManager1.Location") &&
subject.user == "geoclue") {
return polkit.Result.YES;
}
});
|