summaryrefslogtreecommitdiff
path: root/openstack_dashboard/enabled
diff options
context:
space:
mode:
authorshutingm <shutingm@vmware.com>2018-11-21 14:44:30 +0800
committershutingm <shutingm@vmware.com>2019-01-02 17:05:07 +0800
commitd65ebe2054858f3630f6caf5c13b8bbcbe6ace1d (patch)
tree1e9afce34e7eb048dc578cfa9af309a7160616c4 /openstack_dashboard/enabled
parentc4515d1bf37517867904da4effc8cdd696fa8c14 (diff)
downloadhorizon-d65ebe2054858f3630f6caf5c13b8bbcbe6ace1d.tar.gz
Add RBAC policies feature to horizon dashboard
Add RBAC Policies panel to support Role-Based Access Control functionality. Implements: blueprint rbac-policies Change-Id: I883ad629d735dadf49e8bf9c50475050fdfcf797
Diffstat (limited to 'openstack_dashboard/enabled')
-rw-r--r--openstack_dashboard/enabled/_2350_admin_rbac_policies_panel.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/openstack_dashboard/enabled/_2350_admin_rbac_policies_panel.py b/openstack_dashboard/enabled/_2350_admin_rbac_policies_panel.py
new file mode 100644
index 000000000..c566f3742
--- /dev/null
+++ b/openstack_dashboard/enabled/_2350_admin_rbac_policies_panel.py
@@ -0,0 +1,10 @@
+# The slug of the panel to be added to HORIZON_CONFIG. Required.
+PANEL = 'rbac_policies'
+# The slug of the dashboard the PANEL associated with. Required.
+PANEL_DASHBOARD = 'admin'
+# The slug of the panel group the PANEL is associated with.
+PANEL_GROUP = 'network'
+
+# Python panel class of the PANEL to be added.
+ADD_PANEL = ('openstack_dashboard.dashboards.admin.'
+ 'rbac_policies.panel.RBACPolicies')