From ebe64e0b1478340342e76a7a0279a668ec459c2f Mon Sep 17 00:00:00 2001 From: Adrian Czarnecki Date: Fri, 20 Apr 2018 14:38:45 +0200 Subject: [PATCH] Modify policy configuration file Only user with monasca-user role should have access to monitoring panel. Story: 2001895 Task: 14379 Depends-On: I16091dbd631a5e94d08598a23eeb3bdf97cf0a92 Change-Id: I79746010525784de4b66108e9d1fe749bd57675b --- monitoring/conf/monitoring_policy.json | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/monitoring/conf/monitoring_policy.json b/monitoring/conf/monitoring_policy.json index 693bc5b7..2e274ac5 100644 --- a/monitoring/conf/monitoring_policy.json +++ b/monitoring/conf/monitoring_policy.json @@ -1,12 +1,8 @@ { - "owner" : "user_id:%(user_id)s", - "admin_required": "role:admin or is_admin:1", - "admin_or_owner": "rule:admin_required or rule:owner", - "monasca_user_role": "role:monasca-user", "default": "@", - "monitoring:monitoring": "rule:admin_or_owner", + "monitoring:monitoring": "rule:monasca_user_role", "monitoring:kibana_access": "rule:monasca_user_role" }