8 lines
196 B
Plaintext
8 lines
196 B
Plaintext
|
polkit.addRule(function(action, subject) {
|
||
|
if (action.id == "com.zoneminder.policykit.pkexec.run-zmsystemctl" &&
|
||
|
subject.user != "nginx") {
|
||
|
return polkit.Result.NO;
|
||
|
}
|
||
|
|
||
|
});
|