From aa14ae51341f0fae5516a4f1d6d289acc513c99a Mon Sep 17 00:00:00 2001 From: wangxiyuan Date: Thu, 12 Jan 2017 11:15:09 +0800 Subject: [PATCH] Remove promote and reenable from policy The replication promote and reenable API were removed from Mitaka, these two policies are useless now. Change-Id: Idc693c3e298f9adff01ea63147f67205811cfc57 --- cinder/tests/unit/policy.json | 3 --- etc/cinder/policy.json | 3 --- 2 files changed, 6 deletions(-) diff --git a/cinder/tests/unit/policy.json b/cinder/tests/unit/policy.json index db2cb448830..8cb8da2059d 100644 --- a/cinder/tests/unit/policy.json +++ b/cinder/tests/unit/policy.json @@ -103,9 +103,6 @@ "backup:update": "rule:admin_or_owner", "backup:backup_project_attribute": "rule:admin_api", - "volume_extension:replication:promote": "rule:admin_api", - "volume_extension:replication:reenable": "rule:admin_api", - "consistencygroup:create" : "", "consistencygroup:delete": "", "consistencygroup:update": "", diff --git a/etc/cinder/policy.json b/etc/cinder/policy.json index c38bfaba635..6a651220e89 100644 --- a/etc/cinder/policy.json +++ b/etc/cinder/policy.json @@ -79,9 +79,6 @@ "volume:get_transfer": "rule:admin_or_owner", "volume:get_all_transfers": "rule:admin_or_owner", - "volume_extension:replication:promote": "rule:admin_api", - "volume_extension:replication:reenable": "rule:admin_api", - "volume:failover_host": "rule:admin_api", "volume:freeze_host": "rule:admin_api", "volume:thaw_host": "rule:admin_api",