← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1526087] Re: Can edit user name, email to illegal values

 

# openstack user create "abcdefghijklmnopqrstuvwxyz@#$%^&*()_+123 4567890-=[]\{}|:,./<>? baduser2" --password-prompt
User Password:
Repeat User Password:
+----------+--------------------------------------------------------------------------+
| Field    | Value                                                                    |
+----------+--------------------------------------------------------------------------+
| email    | None                                                                     |
| enabled  | True                                                                     |
| id       | bc8ba161a852445388334aaf969e9845                                         |
| name     | abcdefghijklmnopqrstuvwxyz@#$%^&*()_+123 4567890-=[]\{}|:,./<>? baduser2 |
| username | abcdefghijklmnopqrstuvwxyz@#$%^&*()_+123 4567890-=[]\{}|:,./<>? baduser2 |
+----------+--------------------------------------------------------------------------+



** Also affects: keystone
   Importance: Undecided
       Status: New

** Changed in: keystone
       Status: New => Confirmed

** Also affects: python-openstackclient
   Importance: Undecided
       Status: New

** Changed in: python-openstackclient
       Status: New => Confirmed

** Changed in: keystone
     Assignee: (unassigned) => sandeep nandal (nandal)

** Changed in: python-openstackclient
     Assignee: (unassigned) => sandeep nandal (nandal)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1526087

Title:
  Can edit user name, email to illegal values

Status in OpenStack Dashboard (Horizon):
  Confirmed
Status in OpenStack Identity (keystone):
  Confirmed
Status in python-openstackclient:
  Confirmed

Bug description:
  Under Identity > Users, you can edit usernames and emails to illegal
  values (string too long, invalid characters/format, etc). The test
  string for both email and username update is
  "abcdefghijklmnopqrstuvwxyz!@#$%^&*()_+1234567890-=[]\{}|;':",./<>?
  baduser2".

  This behavior is not in line with user creation's validation. When you
  attempt to create a user with the test string as a username or email,
  you get an error. This validation present during user creation does
  not appear to be active when editing the user's name or email.

  Furthermore, when you set the user's name to the test string, you will
  be unable to log on using that username due to a name length issue.
  The test string's length is 75 characters; the horizon log-on maximum
  is 64.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1526087/+subscriptions


References