admin is able to create/update resource for not existing tenants
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Undecided
|
Unassigned |
Bug Description
how to reproduce:
use admin account to create a network for a not existing tenant
jian@jian-
Created a new network:
+------
| Field | Value |
+------
| admin_state_up | True |
| id | 219d5972-
| name | test-net |
| provider:
| provider:
| provider:
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | 0 |
+------
expected result:
404 due to the tenant doesn't exist.
also affected commands:
lb-member-create, lb-pool-create, lb-vip-create, net-create,
port-create, security-
subnet-create and quota-update.
Changed in neutron: | |
assignee: | nobody → Jian Wen (wenjianhn) |
assignee: | Jian Wen (wenjianhn) → nobody |