Skip to content

Conversation

JonCrowther
Copy link
Contributor

@JonCrowther JonCrowther commented Sep 2, 2025

Issue: An extension of #1015

Problem

When creating a User, we check to make sure the username is unique. However, if a user is created with an empty username, then it is updated with a username, the uniqueness check doesn't happen.

Solution

Added the check on update too.

CheckList

  • Test
  • Docs

@JonCrowther JonCrowther self-assigned this Sep 2, 2025
@JonCrowther JonCrowther requested a review from a team as a code owner September 2, 2025 19:59
@JonCrowther JonCrowther requested a review from crobby September 2, 2025 20:00
@JonCrowther JonCrowther merged commit 863afa7 into rancher:main Sep 3, 2025
2 checks passed
@JonCrowther JonCrowther deleted the block-non-unique-username-update branch September 3, 2025 17:00
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.

4 participants