horizon/openstack_dashboard/dashboards/project/overview
Gabriel Hurley e1d12a4e49 Improve UX around "unauthorized" API exceptions.
Instead of blindly logging out the user when any API returns
a 401 or 403 response (which in most cases is due to a service
being down or misconfigured) we catch the error and inform the
user that they are not authorized for that data.

This is separate from being unauthorized for a dashboard or
panel in Horizon, since those are within our control and involve
security concerns around exposing admin functionalities to end
users. Those checks function as they have previously.

Fixes bug 1060426.

Change-Id: Ied800f10926ac5fb3b9ac1c1c26bbb4fa94a2557
2013-03-18 11:57:37 -07:00
..
templates/overview Some text in html are not translatable, this cleans-up some of those files. 2013-02-12 16:54:51 -08:00
__init__.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
panel.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
tests.py Improve UX around "unauthorized" API exceptions. 2013-03-18 11:57:37 -07:00
urls.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
views.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00