From 09a55e2bf4f3d5df3b76454f4839e2ce96f9d42f Mon Sep 17 00:00:00 2001 From: liyingjun Date: Tue, 8 Sep 2015 11:59:34 +0800 Subject: [PATCH] Add missing delete policies in the sample file Policy check for delete related actions are supported, but missing in the sample file, it would be nice to add these. Change-Id: I8d58be7f3cb1bdefc3b783a256c21ed216cdbad7 Closes-bug: #1446032 --- etc/nova/policy.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/nova/policy.json b/etc/nova/policy.json index 568ce913df..5f6023e5c3 100644 --- a/etc/nova/policy.json +++ b/etc/nova/policy.json @@ -78,6 +78,9 @@ "compute:rebuild": "", "compute:reboot": "", + "compute:delete": "rule:admin_or_owner", + "compute:soft_delete": "rule:admin_or_owner", + "compute:force_delete": "rule:admin_or_owner", "compute:security_groups:add_to_instance": "", "compute:security_groups:remove_from_instance": "",