mirror of
git://git.proxmox.com/git/pve-docs.git
synced 2025-12-03 20:23:44 +03:00
include allowtoken info in api-viewer
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
6a5754205e
commit
78f5fcdc70
@@ -354,6 +354,9 @@ Ext.onReady(function() {
|
|||||||
permhtml += "Unknown systax!";
|
permhtml += "Unknown systax!";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!info.allowtoken) {
|
||||||
|
permhtml += "<br />This API endpoint is not available for API tokens."
|
||||||
|
}
|
||||||
|
|
||||||
sections.push({
|
sections.push({
|
||||||
title: 'Required permissions',
|
title: 'Required permissions',
|
||||||
|
|||||||
Reference in New Issue
Block a user