[pve-devel] applied: [PATCH v3 access-control 05/20] API token: add check_token_exist API helper
Thomas Lamprecht
t.lamprecht at proxmox.com
Tue Jan 28 21:08:09 CET 2020
On 1/21/20 1:54 PM, Fabian Grünbichler wrote:
> the helper is modeled after the corresponding user method.
>
> the 'tokenid' option goes into PVE::AccessControl, since we need it in
> multiple API modules.
>
> Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
> ---
>
> Notes:
> v2->v3:
> - use this to avoid autovivification in parser
> v1->v2:
> - remove enabled helper (since flag was removed)
> - drop brackets in error message
>
> PVE/AccessControl.pm | 22 +++++++++++++++++++++-
> 1 file changed, 21 insertions(+), 1 deletion(-)
>
applied, thanks!
More information about the pve-devel
mailing list