tenant_id in url not enforced/checked
Bug #879111 reported by
Gabriel Hurley
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Critical
|
Gabriel Hurley |
Bug Description
Currently you can enter any arbitrary number in the url where the tenant id goes, and it does absolutely nothing. Valid tenant id or invalid doesn't matter, data displayed on the page is always the same (because it uses request.
Changed in horizon: | |
status: | New → Confirmed |
Changed in horizon: | |
importance: | Undecided → Critical |
milestone: | none → essex-2 |
Changed in horizon: | |
assignee: | nobody → Gabriel Hurley (gabriel-hurley) |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | essex-2 → 2012.1 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/1317 github. com/openstack/ horizon/ commit/ 9742842795e964c 7f260aec831665d 5cb28cd420
Committed: http://
Submitter: Jenkins
Branch: master
status fixcommitted
done
commit 9742842795e964c 7f260aec831665d 5cb28cd420
Author: Gabriel Hurley <email address hidden>
Date: Mon Oct 31 11:31:05 2011 -0700
Re-architects the OpenStack Dashboard for modularity and extensibility.
Implements blueprint extensible- architecture. dev-documentati on.
Implements blueprint improve-
Implements blueprint gettext-everywhere.
Implements blueprint sphinx-docs.
Complete re-architecture of the dashboard to transform it from a standalone django-openstack app to a Horizon framework for building dashboards. See the docs for more information.
Incidentally fixes the following bugs:
Fixes bug 845868 -- no PEP8 violations.
Fixes bug 766096 -- the dashboard can now be installed at any arbitrary URL.
Fixes bug 879111 -- tenant id is now controlled solely by the tenant switcher, not the url (which was disregarded anyway)
Fixes bug 794754 -- output of venv installation is considerably reduced.
Due to the scale and scope of this patch I recommend reviewing it on github: https:/ /github. com/gabrielhurl ey/horizon/ tree/extensible _architecture
Change-Id: I8e63f7ea235f90 4247df40c33cb66 338d973df9e