Skip to content

CMLDEV-1728: Support mandatory password changes in user management - #277

Open
marpauli-cisco wants to merge 1 commit into
devfrom
CMLDEV-1728-password-change
Open

marpauli-cisco wants to merge 1 commit into
devfrom
CMLDEV-1728-password-change

Conversation

@marpauli-cisco

Copy link
Copy Markdown
Collaborator

Summary

  • Allow administrators to require or clear a password change through the client
  • Support the CMLDEV-1728 controller API; no backend changes in this PR

Changes

User management

  • Add must_change_password to create_user and update_user optional arguments
  • Preserve explicit false and omit the field when unspecified

Tests

  • Cover create and update payloads for omitted, false, and true values

Verification

  • pytest -c pytest.ini tests/test_user_group_management.py -q — 31 passed
  • ruff check --no-fix virl2_client/models/user.py tests/test_user_group_management.py — passed

@marpauli-cisco marpauli-cisco self-assigned this Nov 11, 2026
Allow create_user and update_user to send must_change_password. Preserve explicit false and omit unspecified values.

Document the option and test create and update payloads for omitted, false, and true values.
@tmikuska
tmikuska force-pushed the CMLDEV-1728-password-change branch from af89883 to 9d408a2 Compare November 11, 2026 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant