[pve-devel] applied: [PATCH v3 access-control 07/20] API token: add verification method
Thomas Lamprecht
t.lamprecht at proxmox.com
Tue Jan 28 21:08:45 CET 2020
On 1/21/20 1:54 PM, Fabian Grünbichler wrote:
> which checks that the user and token exist and are not expired, and then
> generates the string to be matched with the pmxcfs-stored token shadow
> config file.
>
> Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
> ---
>
> Notes:
> requires versioned dependency on pve-cluster with PVE::Cluster::verify_token
>
> v2->v3:
> - simply split on '=', we match the full tokenid RE in split_tokenid anyway
>
> new in v2
>
> requires versioned dependency on pve-cluster with PVE::Cluster::verify_token
>
> PVE/AccessControl.pm | 33 +++++++++++++++++++++++++++++++++
> 1 file changed, 33 insertions(+)
>
applied, thanks!
More information about the pve-devel
mailing list