From afdc73e2e14231648ed5654c75ffa6d32c910d6f Mon Sep 17 00:00:00 2001 From: Eoghan Glynn Date: Tue, 22 May 2012 13:35:06 +0100 Subject: [PATCH] Dedupe native and EC2 security group APIs. Reduce the code duplication in the native openstack and EC2 APIs related to security groups, by factoring commonality into a new internal SecurityGroupAPI. Also fixes bug lp 1005931 Change-Id: Ifb92bf5d0f07d5713818a3eee6175ef03e8c0b7c --- nova/tests/policy.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nova/tests/policy.json b/nova/tests/policy.json index aa9c7974..8f8ea769 100644 --- a/nova/tests/policy.json +++ b/nova/tests/policy.json @@ -58,8 +58,8 @@ "compute:snapshot": [], "compute:backup": [], - "compute:add_security_group": [], - "compute:remove_security_group": [], + "compute:security_groups:add_to_instance": [], + "compute:security_groups:remove_from_instance": [], "compute:delete": [], "compute:soft_delete": [],