mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-01-06 05:08:01 -05:00
8 lines
201 B
Plaintext
8 lines
201 B
Plaintext
polkit.addRule(function(action, subject) {
|
|
if (action.id == "com.zoneminder.policykit.pkexec.run-zmsystemctl" &&
|
|
subject.user != "@WEB_USER@") {
|
|
return polkit.Result.NO;
|
|
}
|
|
|
|
});
|