5
0
mirror of git://git.proxmox.com/git/pve-docs.git synced 2025-12-02 16:23:43 +03:00

include allowtoken info in api-viewer

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler
2020-01-30 13:54:01 +01:00
committed by Thomas Lamprecht
parent 6a5754205e
commit 78f5fcdc70

View File

@@ -354,6 +354,9 @@ Ext.onReady(function() {
permhtml += "Unknown systax!";
}
}
if (!info.allowtoken) {
permhtml += "<br />This API endpoint is not available for API tokens."
}
sections.push({
title: 'Required permissions',