From 31be15465781729d98855b0f7d88e8c91dfd3202 Mon Sep 17 00:00:00 2001 From: Goutham Pratapa Date: Fri, 16 Nov 2018 20:06:04 +0530 Subject: [PATCH] Add get_availability_zone rule to policy.json "neutron availability-zone-list" checks for "get_availability_zone" rule and policy.json doesn't contain it so adding it now. Change-Id: I7e5e706c44136e0b565f3ee18e15f1166d82040d --- etc/policy.json | 1 + neutron/tests/etc/policy.json | 1 + 2 files changed, 2 insertions(+) diff --git a/etc/policy.json b/etc/policy.json index c517996149e..24774fd0ff7 100644 --- a/etc/policy.json +++ b/etc/policy.json @@ -56,6 +56,7 @@ "get_network:queue_id": "rule:admin_only", "get_network_ip_availabilities": "rule:admin_only", "get_network_ip_availability": "rule:admin_only", + "get_availability_zone": "", "update_network": "rule:admin_or_owner", "update_network:segments": "rule:admin_only", "update_network:shared": "rule:admin_only", diff --git a/neutron/tests/etc/policy.json b/neutron/tests/etc/policy.json index c517996149e..24774fd0ff7 100644 --- a/neutron/tests/etc/policy.json +++ b/neutron/tests/etc/policy.json @@ -56,6 +56,7 @@ "get_network:queue_id": "rule:admin_only", "get_network_ip_availabilities": "rule:admin_only", "get_network_ip_availability": "rule:admin_only", + "get_availability_zone": "", "update_network": "rule:admin_or_owner", "update_network:segments": "rule:admin_only", "update_network:shared": "rule:admin_only",