]> git.proxmox.com Git - pve-manager.git/commit
pve6to7: add check for pool permissions
authorLorenz Stechauner <l.stechauner@proxmox.com>
Thu, 17 Jun 2021 08:39:18 +0000 (10:39 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 18 Jun 2021 08:54:28 +0000 (10:54 +0200)
commit31e4ad5da2c472af7130bdcec22b0dbb6afb707e
tree3c9533d7eb082520634b986d9f16097e42ee09a1
parent0a47d5a8255de8983cf4342810d8fba66dcd4371
pve6to7: add check for pool permissions

the two checks make sure that:
* no user defined role 'PVEPoolUser' exists
* the user gets a hint for roles only containing Pool.Allocate and
    not Pool.Audit

a very simple parser for user.cfg was implemented to be able to
parse the (in pve 6 invalid) Pool.Audit permission

Signed-off-by: Lorenz Stechauner <l.stechauner@proxmox.com>
PVE/CLI/pve6to7.pm