From 9caf87bb0c97dae75f8ea0ab459ec282766906d5 Mon Sep 17 00:00:00 2001 From: Mykola Yakovliev Date: Thu, 2 Aug 2018 09:54:42 -0500 Subject: [PATCH] Add delete rule for auto_allocated_topology This patchset updates policy.json to cover delete action for auto_allocated_topology introduced in Neutron API [0]. [0] https://developer.openstack.org/api-ref/network/v2/index.html#delete-the-auto-allocated-topology Closes-bug: #1785349 Change-Id: If7b5c3262370057e6b40d96967d355cd0ee7e2d3 --- 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 b643aa692ff..a1cc26efe98 100644 --- a/etc/policy.json +++ b/etc/policy.json @@ -223,6 +223,7 @@ "delete_flavor_service_profile": "rule:admin_only", "get_auto_allocated_topology": "rule:admin_or_owner", + "delete_auto_allocated_topology": "rule:admin_or_owner", "create_trunk": "rule:regular_user", "get_trunk": "rule:admin_or_owner", diff --git a/neutron/tests/etc/policy.json b/neutron/tests/etc/policy.json index b643aa692ff..a1cc26efe98 100644 --- a/neutron/tests/etc/policy.json +++ b/neutron/tests/etc/policy.json @@ -223,6 +223,7 @@ "delete_flavor_service_profile": "rule:admin_only", "get_auto_allocated_topology": "rule:admin_or_owner", + "delete_auto_allocated_topology": "rule:admin_or_owner", "create_trunk": "rule:regular_user", "get_trunk": "rule:admin_or_owner",