pvesr run: remove wrong permission check
This commit is contained in:
@ -101,11 +101,6 @@ __PACKAGE__->register_method ({
|
|||||||
path => 'run',
|
path => 'run',
|
||||||
method => 'POST',
|
method => 'POST',
|
||||||
description => "This method will run by the systemd-timer and sync all jobs",
|
description => "This method will run by the systemd-timer and sync all jobs",
|
||||||
permissions => {
|
|
||||||
description => {
|
|
||||||
check => ['perm', '/', [ 'Sys.Console' ]],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
protected => 1,
|
protected => 1,
|
||||||
parameters => {
|
parameters => {
|
||||||
additionalProperties => 0,
|
additionalProperties => 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user