summaryrefslogtreecommitdiff
path: root/openstack_dashboard/enabled
diff options
context:
space:
mode:
authorRob Cresswell <robert.cresswell@outlook.com>2017-02-01 19:05:49 +0000
committerRichard Jones <r1chardj0n3s@gmail.com>2017-02-02 13:19:21 +1100
commite2698063e27698901d77f9422697fd2ebc261655 (patch)
tree395a509b0afe36a8b0b91c4f0fd6ea995ebd074d /openstack_dashboard/enabled
parent99849ad88fef36ed978d16f1d20a5e3b66200da1 (diff)
downloadhorizon-e2698063e27698901d77f9422697fd2ebc261655.tar.gz
Move Security Groups into its own panel
This patch moves the Security Groups tab from the Access and Security panel into its own panel under the Network panel group. As this is the last tab in Access and Security, that panel is also removed by this patch. Change-Id: Id29c7ce635d46383742aec140def265d4b249aa5 Implements: blueprint reorganise-access-and-security
Diffstat (limited to 'openstack_dashboard/enabled')
-rw-r--r--openstack_dashboard/enabled/_1060_project_access_panel.py10
-rw-r--r--openstack_dashboard/enabled/_1480_security_groups_panel.py6
2 files changed, 6 insertions, 10 deletions
diff --git a/openstack_dashboard/enabled/_1060_project_access_panel.py b/openstack_dashboard/enabled/_1060_project_access_panel.py
deleted file mode 100644
index 6ef2538c7..000000000
--- a/openstack_dashboard/enabled/_1060_project_access_panel.py
+++ /dev/null
@@ -1,10 +0,0 @@
-# The slug of the panel to be added to HORIZON_CONFIG. Required.
-PANEL = 'access_and_security'
-# The slug of the dashboard the PANEL associated with. Required.
-PANEL_DASHBOARD = 'project'
-# The slug of the panel group the PANEL is associated with.
-PANEL_GROUP = 'compute'
-
-# Python panel class of the PANEL to be added.
-ADD_PANEL = ('openstack_dashboard.dashboards.project.'
- 'access_and_security.panel.AccessAndSecurity')
diff --git a/openstack_dashboard/enabled/_1480_security_groups_panel.py b/openstack_dashboard/enabled/_1480_security_groups_panel.py
new file mode 100644
index 000000000..5e327a073
--- /dev/null
+++ b/openstack_dashboard/enabled/_1480_security_groups_panel.py
@@ -0,0 +1,6 @@
+PANEL_DASHBOARD = 'project'
+PANEL_GROUP = 'network'
+PANEL = 'security_groups'
+
+ADD_PANEL = ('openstack_dashboard.dashboards.project.security_groups'
+ '.panel.SecurityGroups')