Code Review
/
AGL
/
meta-agl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
5fa34fbd2704fbf53d42332dcde5e86dd5e949e3
[AGL/meta-agl.git]
/
meta-app-framework
/
recipes-config
/
polkit-rule-agl-app
/
files
/
50-agl-app.rules
1
polkit.addRule(function(action, subject) {
2
if (action.id == "org.freedesktop.systemd1.manage-units" &&
3
action.lookup("unit").indexOf("agl-app@") == 0 &&
4
subject.user == "agl-driver") {
5
return polkit.Result.YES;
6
}
7
});