zoneminder/misc/com.zoneminder.systemctl.ru...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
201 B
Plaintext
Raw Permalink Normal View History

2014-08-10 21:47:11 +08:00
polkit.addRule(function(action, subject) {
if (action.id == "com.zoneminder.policykit.pkexec.run-zmsystemctl" &&
subject.user != "@WEB_USER@") {
return polkit.Result.NO;
}
});