Skip to content

Allow user unlock for externals - #4153

Merged
strehle merged 1 commit into
developfrom
fix/issue/3963
Nov 12, 2026
Merged

strehle merged 1 commit into
developfrom
fix/issue/3963

Conversation

@strehle

@strehle strehle commented Nov 11, 2026

Copy link
Copy Markdown
Member

fix for #issue #3963

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The changes address external-user SCIM unlock behavior while preserving existing validation constraints, with corresponding coverage and documentation updates and no active issues identified.

No open issues 🎉

What changed in this PR

This PR enables SCIM account unlocks for users from external identity providers while preserving restrictions on password-change management for non-UAA users.

Changes:

  • Allow locked: false updates for users of any origin.
  • Retain validation for password-change requirements and account locking.
  • Add unit and integration coverage and update API documentation.
File Description
uaa/​src/​test/​java/​org/​cloudfoundry/​identity/​uaa/​scim/​endpoints/​ScimUserEndpointsMockMvcTests.java Adds MockMvc coverage for unlocking external users and rejecting invalid status updates.
uaa/​src/​test/​java/​org/​cloudfoundry/​identity/​uaa/​scim/​endpoints/​ScimUserEndpointDocs.java Updates generated endpoint documentation for external-user unlocking.
server/​src/​test/​java/​org/​cloudfoundry/​identity/​uaa/​scim/​endpoints/​ScimUserEndpointsStatusTests.java Adds unit coverage for status validation and unlocking across user origins.
server/​src/​main/​java/​org/​cloudfoundry/​identity/​uaa/​scim/​endpoints/​ScimUserEndpoints.java Allows unlock requests for external users while retaining password-change validation.
docs/​UAA-APIs.rst Documents account-status endpoint behavior, constraints, and external-provider limitations.

Review effort: Lite

@strehle
strehle requested review from duanemay and fhanik November 12, 2026 15:26
@github-project-automation github-project-automation Bot moved this from Inbox to Pending Merge | Prioritized in Foundational Infrastructure Working Group Nov 12, 2026
@strehle
strehle merged commit a46882e into develop Nov 12, 2026
2 checks passed
@strehle
strehle deleted the fix/issue/3963 branch November 12, 2026 20:22
@github-project-automation github-project-automation Bot moved this from Pending Merge | Prioritized to Done in Foundational Infrastructure Working Group Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

Add support for unlocking users from SAML/OIDC providers

3 participants