zoneminder/misc/com.zoneminder.arp-scan.rul...

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

8 lines
198 B
Plaintext
Raw Normal View History

2022-02-08 01:32:50 +08:00
polkit.addRule(function(action, subject) {
if (action.id == "com.zoneminder.policykit.pkexec.run-arp-scan" &&
subject.user != "@WEB_USER@") {
return polkit.Result.NO;
}
});