Disclaimer: I've not had time to even consider looking at the work toward 2.1.x (I don't think I've even updated my git tree in a while), but I can say for sure that we'll needthe polkit rules to be in the new javascript-like syntax similar to what you find in -current's polkit package Something along these lines:
Code:
polkit.addRule(function(action, subject) {
if (action.id.indexOf("org.blueman.") == 0 &&
subject.isInGroup("plugdev")) {
return polkit.Result.YES;
}
});
That said, the bluez source uses "lp" group (and I have absolutely no idea why), so I think we probably need to either change that in our builds *or* use "lp" group for the blueman permissions too. I'm not certain of that, however...
EDIT: hrm, this looks better:
https://github.com/blueman-project/b...wiki/PolicyKit