]> git.proxmox.com Git - pve-container.git/commit
check_ct_modify_config_perm: check for tags permissions with 'assert_tag_permissions'
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 16 Nov 2022 15:48:02 +0000 (16:48 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 17 Nov 2022 09:25:56 +0000 (10:25 +0100)
commit7a57f63a3c7fa139cabd7a027ea9eeacceae789c
tree8b359612541ce90e24c708de29952412806eb067
parent5fbd58cba8df1a0633f362728ddf8c1a0284fe33
check_ct_modify_config_perm: check for tags permissions with 'assert_tag_permissions'

from GuestHelpers. This function checks all necessary permissions and
raises an exception if the user does not have the correct ones.

This is necessary for the new 'privileged' tags and 'user-tag-access'
permissions to work.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/PVE/LXC.pm