mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-12 06:23:50 +00:00
api: cluster: add jobs sub-directory index and set its permissions
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
7cced7126b
commit
c20699493a
@ -137,6 +137,7 @@ __PACKAGE__->register_method ({
|
|||||||
{ name => 'config' },
|
{ name => 'config' },
|
||||||
{ name => 'firewall' },
|
{ name => 'firewall' },
|
||||||
{ name => 'ha' },
|
{ name => 'ha' },
|
||||||
|
{ name => 'jobs' },
|
||||||
{ name => 'log' },
|
{ name => 'log' },
|
||||||
{ name => 'metrics' },
|
{ name => 'metrics' },
|
||||||
{ name => 'nextid' },
|
{ name => 'nextid' },
|
||||||
|
@ -13,6 +13,7 @@ __PACKAGE__->register_method({
|
|||||||
path => '',
|
path => '',
|
||||||
method => 'GET',
|
method => 'GET',
|
||||||
description => "Index for jobs related endpoints.",
|
description => "Index for jobs related endpoints.",
|
||||||
|
permissions => { user => 'all' },
|
||||||
parameters => {
|
parameters => {
|
||||||
additionalProperties => 0,
|
additionalProperties => 0,
|
||||||
properties => {},
|
properties => {},
|
||||||
|
Loading…
Reference in New Issue
Block a user