horizon/openstack_dashboard/dashboards/admin/overview
David Lyle 43e9df85ab Rework hardcoded policy in admin dash
Since the content in a Dashboard is not hardcoded, having hardcoded
policy checks to specific services at the dashboard level is wrong.
The Dashboard was designed to evaluate all panels to determine policy
so this type of thing could be avoided. This patch moves the content
specific policy checks to the panels where they apply.

Additionally, this fix uncovered another bug where policy_rules are
wrapped in a list regardless of format. This patch adds a check and
only wraps where necessary.

Change-Id: I79314a45c3c552ebcb3bb7cc881c2467fa009c5d
Closes-Bug: #1643013
Closes-Bug: #1643074
2016-11-18 15:42:16 -07:00
..
templates/overview usage.html doesn't need such specific styles. 2015-12-03 16:17:46 +00:00
__init__.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
panel.py Rework hardcoded policy in admin dash 2016-11-18 15:42:16 -07:00
tests.py Merge "Make sure we always get all limits" 2016-06-24 02:42:40 +00:00
urls.py Update URLs to Django 1.8+ style 2016-03-28 11:03:08 +01:00
views.py Replace filter() with list-comprehension 2015-10-13 10:39:58 +02:00