]> git.proxmox.com Git - pve-access-control.git/commit
realm: sync: allow explicit 'none' for 'remove-vanished' option
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 6 Dec 2022 11:06:30 +0000 (12:06 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 14 Dec 2022 11:14:59 +0000 (12:14 +0100)
commit982db92922688dea7be4953d46dc9263451ca016
tree10341c5ba8ec1d8b7e98868792aa6bdfafb14bd9
parentb84bf6238b533f65e8db1c19e6cde4141b8e9dd4
realm: sync: allow explicit 'none' for 'remove-vanished' option

with that, the api call can now override the default option
that is set on the realm (if any) by providing 'none'

it was not possible previously to override the realm default
when one wanted no properties to delete

no other code changes are necessary since we only extract the
known values 'acl' etc. and 'none' has no meaning there

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