A non-existing tenant can be added to a user
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
Brad Pokorny |
Bug Description
1. Create a user without setting the tenantId.
2. Update this user with adding a non-existing tenantId property
http://
{
"user": {
"name": "user1",
"email": "<email address hidden>",
"tenantId"
"pass": "passw0rd",
"enabled": true
}
}
Actual Results: The user gets updated with the non-existing tenantId successfully.
[root@vs10 ˜]# keystone user-get user1
+------
| Property | Value |
+------
| email | <email address hidden> |
| enabled | True |
| id | 354eb97979364a3
| name | user1 |
| pass | passw0rd |
| tenantId | 55555555555555 |
+------
Expected Results: Updating the user with the non-existing tenantId should fail.
Note that if the user already has a tenantId assigned to it, updating with a non-existing tenantId will fail as expected.
Changed in keystone: | |
assignee: | nobody → Brad Pokorny (bpokorny) |
Changed in keystone: | |
importance: | Undecided → Medium |
Changed in keystone: | |
milestone: | none → icehouse-1 |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | icehouse-1 → 2014.1 |
Fix proposed to branch: master /review. openstack. org/54631
Review: https:/