role (Identity) can be just white character
Bug #1519580 reported by
Martin Pavlásek
This bug report is a duplicate of:
Bug #1537697: The name can be just white character except project.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Confirmed
|
Undecided
|
Unassigned | ||
OpenStack Identity (keystone) |
Confirmed
|
Wishlist
|
Deliang Fan |
Bug Description
Admin - Identity - Roles, Create role page:
The form allows to create role that contains just one space. if I've tried to create role with name ' some spaces in the end ', the my input was truncated by whitespaces from both sides - as I expected, but as I realized, it wasn't applied in case just one space.
Changed in keystone: | |
assignee: | nobody → Deliang Fan (vanderliang) |
Changed in horizon: | |
assignee: | nobody → space (fengzhr) |
tags: | added: validation |
To post a comment you must log in.
Seems to be the same hitting keystone directly
keystone role-create --name " " ----+-- ------- ------- ------- ------- ----+ ----+-- ------- ------- ------- ------- ----+ e84e8ba0b73fa69 8c | ----+-- ------- ------- ------- ------- ----+
+------
| Property | Value |
+------
| id | 711cef7a1baa4f5
| name | |
+------