Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Fix disabling user accounts in an Org under certain conditions #723

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matt852
Copy link

@matt852 matt852 commented Nov 18, 2020

To help us process your pull request efficiently, please include:

  • (Required) Short description of changes in the PR topic line

Bugfix for issue #722. This fixes disabling user accounts in an Org when no other changes are made to a user account.

  • (Required) Detailed description of changes include tests and
    documentation. If the pull request contains multiple commits with
    detailed messages, refer to those instead

Details are included in submitted issue #722 (pasted below):

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.

  • (Optional) Names of reviewers using @ sign + name

This change is Reviewable

Bugfix for issue vmware-archive#722.  This fixes disabling user accounts in an Org when no other changes are made to a user account.
@matt852
Copy link
Author

matt852 commented Jan 14, 2021

Can this be reviewed and merged?

@matt852
Copy link
Author

matt852 commented Mar 2, 2021

Bump

@matt852 matt852 changed the title Bugfix for issue #722 Fix disabling user accounts in an Org under certain conditions Mar 2, 2021
@matt852
Copy link
Author

matt852 commented Mar 2, 2021

@rocknes Can you please review?

@matt852
Copy link
Author

matt852 commented Jun 11, 2021

Bump @rocknes @ltimothy7

Copy link
Contributor

@ltimothy7 ltimothy7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @matt852)

Copy link
Contributor

@ltimothy7 ltimothy7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @matt852)

@matt852
Copy link
Author

matt852 commented Mar 28, 2022

@ltimothy7 is there anything else you're waiting on me for to get this merged?

Copy link
Author

@matt852 matt852 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @matt852)

@matt852
Copy link
Author

matt852 commented Nov 20, 2022

@ltimothy7 can we get this merged in please?

@matt852 matt852 requested a review from ltimothy7 January 6, 2024 16:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants