Browse Source

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
Mykola Yakovliev 9 months ago
parent
commit
9caf87bb0c
2 changed files with 2 additions and 0 deletions
  1. 1
    0
      etc/policy.json
  2. 1
    0
      neutron/tests/etc/policy.json

+ 1
- 0
etc/policy.json View File

@@ -223,6 +223,7 @@
223 223
     "delete_flavor_service_profile": "rule:admin_only",
224 224
 
225 225
     "get_auto_allocated_topology": "rule:admin_or_owner",
226
+    "delete_auto_allocated_topology": "rule:admin_or_owner",
226 227
 
227 228
     "create_trunk": "rule:regular_user",
228 229
     "get_trunk": "rule:admin_or_owner",

+ 1
- 0
neutron/tests/etc/policy.json View File

@@ -223,6 +223,7 @@
223 223
     "delete_flavor_service_profile": "rule:admin_only",
224 224
 
225 225
     "get_auto_allocated_topology": "rule:admin_or_owner",
226
+    "delete_auto_allocated_topology": "rule:admin_or_owner",
226 227
 
227 228
     "create_trunk": "rule:regular_user",
228 229
     "get_trunk": "rule:admin_or_owner",

Loading…
Cancel
Save