]> git.proxmox.com Git - proxmox-backup.git/commit
acls: allow viewing/editing user's token ACLs
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 28 Oct 2020 08:49:25 +0000 (09:49 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 29 Oct 2020 14:14:27 +0000 (15:14 +0100)
commitb2da7fbd1c3c2d408dc3b11f27f6c915bcebd616
treee7885d63f11d43cffbf692a89b3dae0f6cda77a0
parent7fe76d3491f2f6d4838b309d8c5d431a94c1551f
acls: allow viewing/editing user's token ACLs

even for otherwise unprivileged users.

since effective privileges of an API token are always intersected with
those of their owning user, this does not allow an unprivileged user to
elevate their privileges in practice, but avoids the need to involve a
privileged user to deploy API tokens.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/api2/access/acl.rs