]> git.proxmox.com Git - pve-access-control.git/commit
api: permissions: allow users to check their own tokens
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 5 Nov 2024 08:30:39 +0000 (09:30 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 10 Nov 2024 19:02:30 +0000 (20:02 +0100)
commit138ecc60faff3ccfed2b5840ef448fc722d52320
treebf0b086f9a6a64719ad0c808fab4657aea51c7a6
parent62873951147185f521af52617ddd7cb392eb8e33
api: permissions: allow users to check their own tokens

even if they lack Sys.Audit on /access - since tokens are self-service,
checking whether the ACLs work as expected should also be doable for every
user.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Tested-by: Daniel Kral <d.kral@proxmox.com>
src/PVE/API2/AccessControl.pm