Files
zoneminder/misc/com.zoneminder.systemctl.rules.in
Isaac Connor 243decb5bd Remove spae
2023-05-30 20:47:05 -04:00

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;
}
});