]> git.proxmox.com Git - pve-access-control.git/commit
API token: implement permission checks
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 21 Jan 2020 12:54:09 +0000 (13:54 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 29 Jan 2020 20:21:58 +0000 (21:21 +0100)
commite915e9e4545bc3251a100c2ba60c0bce29316db8
tree7883b0af9f697e8f1c0986b530c80099725f7a2a
parent6b5736d572d4c265d317176447e4cd98199ad47a
API token: implement permission checks

non-privsep tokens will always return the roles/permissions of their
associated users. privsep tokens will return unfiltered roles, but
filtered permissions.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
PVE/AccessControl.pm
PVE/RPCEnvironment.pm