Skip to content
Snippets Groups Projects

community/rtkit: add audio polkit authorisation

Merged Willow requested to merge StacyHarper/aports:rtkit-polkit-audio into master
2 files
+ 11
1
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 7
0
 
polkit.addRule(function(action, subject) {
 
if (subject.isInGroup("rtkit")) {
 
if (action.id.indexOf("org.freedesktop.RealtimeKit1.") == 0) {
 
return polkit.Result.YES;
 
}
 
}
 
});
Loading