Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot edit user with @ in name #83541

Closed
marius-dr opened this issue Nov 17, 2020 · 3 comments · Fixed by #83629
Closed

Cannot edit user with @ in name #83541

marius-dr opened this issue Nov 17, 2020 · 3 comments · Fixed by #83629
Labels
bug Fixes for quality problems that affect the customer experience regression Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more!

Comments

@marius-dr
Copy link
Member

Kibana version: 7.10.0

Describe the bug:
If an user has @ in their name, the edit URL for it gets encoded and changed to %40 so Kibana throws an error "user doesn't exist".
Workaround is to copy the URL and replace %40 with @ manually.
Steps to reproduce:

  1. Create an user with the name test@test
  2. Try to edit the user.

Expected behavior:
We should handle @ as part of the username as well. Not allowing it is not a solutions since we have usernames that get mapped from emails.

Any additional context:

It was most likely introduced by: #81562

@marius-dr marius-dr added bug Fixes for quality problems that affect the customer experience regression Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! labels Nov 17, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-security (Team:Security)

@legrego
Copy link
Member

legrego commented Nov 17, 2020

There is a bug in react-router/history that is the root cause of this. Details are in #82440

@legrego
Copy link
Member

legrego commented Nov 20, 2020

We are expecting this fix to land in the 7.10.1 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience regression Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants