mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-26 17:52:30 -04:00
7 lines
200 B
Plaintext
7 lines
200 B
Plaintext
polkit.addRule(function(action, subject) {
|
|
if (action.id == "com.zoneminder.policykit.pkexec.run-zmsystemctl" &&
|
|
subject.user != "@WEB_USER@") {
|
|
return polkit.Result.NO;
|
|
}
|
|
});
|