From f68dfb88fdbad51322727575457b3d78a70466b1 Mon Sep 17 00:00:00 2001 From: Scott Shambarger Date: Mon, 24 May 2021 10:51:23 -0700 Subject: horizon: Correct location of monitoring_policy file Patch to correctly copy monitoring_policy.json into /etc/openstack-dashboard. Policy was misplaced, and not being enforced. Note that by current default policy, admin doesn't not have Monitoring access. Closes-Bug: #1928408 Change-Id: I4faabdfa9c273fc61b536e6ce88b8d71ab2fc581 --- docker/horizon/extend_start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docker') diff --git a/docker/horizon/extend_start.sh b/docker/horizon/extend_start.sh index 123e389f7..bc0ea19e4 100644 --- a/docker/horizon/extend_start.sh +++ b/docker/horizon/extend_start.sh @@ -152,7 +152,7 @@ function config_monasca_ui { "${SITE_PACKAGES}/openstack_dashboard/local/enabled/_50_admin_add_monitoring_panel.py" config_dashboard "${ENABLE_MONASCA:-no}" \ "${SITE_PACKAGES}/monitoring/conf/monitoring_policy.json" \ - "${SITE_PACKAGES}/openstack_dashboard/conf/monitoring_policy.json" + "/etc/openstack-dashboard/monitoring_policy.json" } function config_murano_dashboard { -- cgit v1.2.3