aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/openstack_newton_xenial/roles/aodh/templates/policy.json.j2
diff options
context:
space:
mode:
authorliyuenan <liyuenan@huawei.com>2016-11-26 14:29:38 +0800
committerYuenan Li <liyuenan@huawei.com>2016-11-29 07:38:59 +0000
commit3bc1fe012f53ae38ce8fc1c9370ed499bdbb3b26 (patch)
tree99b63a368295b754cce10085fa19ac0a859a74de /deploy/adapters/ansible/openstack_newton_xenial/roles/aodh/templates/policy.json.j2
parenta8614e961d4e600f6fbbac23e4c1a279dd1b186a (diff)
Support aodh for Newton
JIRA: COMPASS-491 Change-Id: I209aec69eec1376432807b44c0a0e890261f3dff Signed-off-by: liyuenan <liyuenan@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/openstack_newton_xenial/roles/aodh/templates/policy.json.j2')
-rw-r--r--deploy/adapters/ansible/openstack_newton_xenial/roles/aodh/templates/policy.json.j220
1 files changed, 0 insertions, 20 deletions
diff --git a/deploy/adapters/ansible/openstack_newton_xenial/roles/aodh/templates/policy.json.j2 b/deploy/adapters/ansible/openstack_newton_xenial/roles/aodh/templates/policy.json.j2
deleted file mode 100644
index 4fd873e9..00000000
--- a/deploy/adapters/ansible/openstack_newton_xenial/roles/aodh/templates/policy.json.j2
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "context_is_admin": "role:admin",
- "segregation": "rule:context_is_admin",
- "admin_or_owner": "rule:context_is_admin or project_id:%(project_id)s",
- "default": "rule:admin_or_owner",
-
- "telemetry:get_alarm": "rule:admin_or_owner",
- "telemetry:get_alarms": "rule:admin_or_owner",
- "telemetry:query_alarm": "rule:admin_or_owner",
-
- "telemetry:create_alarm": "",
- "telemetry:change_alarm": "rule:admin_or_owner",
- "telemetry:delete_alarm": "rule:admin_or_owner",
-
- "telemetry:get_alarm_state": "rule:admin_or_owner",
- "telemetry:change_alarm_state": "rule:admin_or_owner",
-
- "telemetry:alarm_history": "rule:admin_or_owner",
- "telemetry:query_alarm_history": "rule:admin_or_owner"
-}