mirror of
https://git.proxmox.com/git/pve-access-control
synced 2025-07-27 07:21:49 +00:00
allow to delete all groups
This commit is contained in:
parent
cb6f2f93ed
commit
e652173849
@ -247,7 +247,7 @@ __PACKAGE__->register_method ({
|
||||
$usercfg->{users}->{$username}->{expire} = $param->{expire} if defined($param->{expire});
|
||||
|
||||
PVE::AccessControl::delete_user_group($username, $usercfg)
|
||||
if (!$param->{append} && $param->{groups});
|
||||
if (!$param->{append} && defined($param->{groups}));
|
||||
|
||||
if ($param->{groups}) {
|
||||
foreach my $group (split_list($param->{groups})) {
|
||||
|
Loading…
Reference in New Issue
Block a user