Code Review
/
AGL
/
meta-agl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
polkit: add rule to allow agl-driver to control agl-app@ systemd services
[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
});