tuskar-ui/openstack_dashboard/dashboards/admin/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 Remove superfluous slash from admin usage.csv template 2012-11-08 14:09:36 -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 Ensure to use api.<category>.<method> 2013-01-22 20:37:12 +09:00
urls.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
views.py Improve UX around "unauthorized" API exceptions. 2013-03-18 11:57:37 -07:00