pyvcloud icon indicating copy to clipboard operation
pyvcloud copied to clipboard

Bug: Unable to disable users in Orgs

Open matt852 opened this issue 5 years ago • 2 comments

There is a bug that prevents disabling a user in an Org. I'll be submitting a PR for this shortly.

File: pyvcloud/vcd/org.py Line: 1019 Current line: if is_enabled or role_name or password:

Issue: If the only modification being made to a user is to disable the account, this will ALWAYS skip past this IF statement, as "is_enabled" is a boolean and evaluates to False. This works for enabling users, as "is_enabled" evaluates to True and enters the IF statement.

matt852 avatar Nov 18 '20 14:11 matt852

Can the relevant PR be reviewed and merged?

matt852 avatar Jan 14 '21 17:01 matt852

Bump

matt852 avatar Mar 02 '21 19:03 matt852