Skip to content

User creation bypasses the password errors #16835

@torchiaf

Description

@torchiaf

Setup

  • Rancher version: v2.14-998c69e1d7c87d3f35fd0c5c14e01f0fbe1b7270-head
  • Rancher UI: master head-90b1bc281e

Describe the bug

When creating new users, we get a webhook error if password is the same as username, but Rancher ignores the error and it creates the new user.
It' s not possible to login with the new user -> The secrets containing the user's password does not exist.

To Reproduce

  • Go to Users -> Create a standard user
  • Assign the same value to the username & password field.
  • Click save

Expected Result

The user shouldn't be created

Screenshots

Image Image

Additional context

Metadata

Metadata

Assignees

Labels

QA/dev-automationIssues that engineers have written automation around so QA doesn't have look at thisarea/dashboardkind/bug

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions