pve-guest-common/debian
Dominik Csapak 2b00f6236d GuestHelpers: add tag related helpers
'get_allowed_tags':
returns the allowed tags for the given user

'assert_tag_permissions'
helper to check permissions for tag setting/updating/deleting
for both container and qemu-server

gets the list of allowed tags from the DataCenterConfig and the current
user permissions, and checks for each tag that is added/removed if
the user has permissions to modify it

'normal' tags require 'VM.Config.Options' on '/vms/<vmid>', but not
allowed tags (either limited with 'user-tag-access' or
'privileged-tags' in the datacenter.cfg) requrie 'Sys.Modify' on '/'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2022-11-17 10:24:33 +01:00
..
source set debian source format to 1.0 2019-05-21 21:00:13 +02:00
changelog bump version to 4.2-1 2022-11-12 16:52:14 +01:00
compat d/control: increase compat level to 12 2021-05-12 13:03:34 +02:00
control GuestHelpers: add tag related helpers 2022-11-17 10:24:33 +01:00
copyright initial packaging 2017-01-25 10:05:29 +01:00
rules initial packaging 2017-01-25 10:05:29 +01:00
triggers initial packaging 2017-01-25 10:05:29 +01:00