From 668be7e869a9a188b30450500991fe3b3acdf1f6 Mon Sep 17 00:00:00 2001 From: Sumit Naiksatam Date: Fri, 27 Feb 2015 15:39:59 -0800 Subject: [PATCH] Fix retrieval of shared firewall_policies Incorrect rule in the policy.json prevents the visibility of shared firewall_policies. Change-Id: I6541d363f1ca4ae89b9dddab41a8f20522e50df8 Closes-bug: 1426586 --- etc/policy.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/policy.json b/etc/policy.json index 8a43e695acd..4fc6c1c5566 100644 --- a/etc/policy.json +++ b/etc/policy.json @@ -7,6 +7,7 @@ "regular_user": "", "shared": "field:networks:shared=True", "shared_firewalls": "field:firewalls:shared=True", + "shared_firewall_policies": "field:firewall_policies:shared=True", "external": "field:networks:router:external=True", "default": "rule:admin_or_owner", @@ -87,7 +88,7 @@ "delete_firewall": "rule:admin_or_owner", "create_firewall_policy": "", - "get_firewall_policy": "rule:admin_or_owner or rule:shared_firewalls", + "get_firewall_policy": "rule:admin_or_owner or rule:shared_firewall_policies", "create_firewall_policy:shared": "rule:admin_or_owner", "update_firewall_policy": "rule:admin_or_owner", "delete_firewall_policy": "rule:admin_or_owner",