audio-server: add alternative, broader polkit rule for later
This commit is contained in:
parent
96576625d9
commit
22222227b5
|
@ -140,6 +140,15 @@ in
|
||||||
return polkit.Result.YES;
|
return polkit.Result.YES;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// broader alternative if the above ever breaks
|
||||||
|
// polkit.addRule(function(action, subject) {
|
||||||
|
// if (subject.isInGroup("rtkit")) {
|
||||||
|
// if (action.id.indexOf("org.freedesktop.RealtimeKit1.") == 0) {
|
||||||
|
// return polkit.Result.YES;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// });
|
||||||
'';
|
'';
|
||||||
rtkit.enable = true;
|
rtkit.enable = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue