mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2025-12-23 22:37:53 -05:00
8 lines
198 B
Plaintext
8 lines
198 B
Plaintext
polkit.addRule(function(action, subject) {
|
|
if (action.id == "com.zoneminder.policykit.pkexec.run-arp-scan" &&
|
|
subject.user != "@WEB_USER@") {
|
|
return polkit.Result.NO;
|
|
}
|
|
|
|
});
|