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
This commit is contained in:
Adrian Czarnecki 2018-04-20 14:38:45 +02:00
parent 27cd95a46e
commit ebe64e0b14

View File

@ -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"
}