From 93bb571888a1bff4fa1e110356dbf2cb9fb4ee52 Mon Sep 17 00:00:00 2001 From: Radomir Dopieralski Date: Wed, 25 Apr 2018 11:37:05 +0200 Subject: [PATCH] Replace all mentions of get_identity_providers with get_identity_provider There was a typo in keystone's policy files, and it has been fixed in Keystone already, we should also fix it to match. Change-Id: I41e4381765f3bfc5988ca235e6cbeb6d1ba62fc2 Closes-bug: #1703369 --- doc/source/contributor/topics/policy.rst | 2 +- openstack_auth/tests/conf/keystone_policy.json | 2 +- openstack_auth/tests/conf/policy.v3cloudsample.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/contributor/topics/policy.rst b/doc/source/contributor/topics/policy.rst index 0b61d12756..96d8ab8581 100644 --- a/doc/source/contributor/topics/policy.rst +++ b/doc/source/contributor/topics/policy.rst @@ -201,4 +201,4 @@ provided: --old keystone_policy.json --new keystone_policy.json.new --mode remove default identity:change_password - identity:get_identity_providers + identity:get_identity_provider diff --git a/openstack_auth/tests/conf/keystone_policy.json b/openstack_auth/tests/conf/keystone_policy.json index 90ffdfd4b4..9050aa68a4 100644 --- a/openstack_auth/tests/conf/keystone_policy.json +++ b/openstack_auth/tests/conf/keystone_policy.json @@ -123,7 +123,7 @@ "identity:create_identity_provider": "rule:admin_required", "identity:list_identity_providers": "rule:admin_required", - "identity:get_identity_providers": "rule:admin_required", + "identity:get_identity_provider": "rule:admin_required", "identity:update_identity_provider": "rule:admin_required", "identity:delete_identity_provider": "rule:admin_required", diff --git a/openstack_auth/tests/conf/policy.v3cloudsample.json b/openstack_auth/tests/conf/policy.v3cloudsample.json index a96996c68c..dd3b2ae747 100644 --- a/openstack_auth/tests/conf/policy.v3cloudsample.json +++ b/openstack_auth/tests/conf/policy.v3cloudsample.json @@ -145,7 +145,7 @@ "identity:create_identity_provider": "rule:cloud_admin", "identity:list_identity_providers": "rule:cloud_admin", - "identity:get_identity_providers": "rule:cloud_admin", + "identity:get_identity_provider": "rule:cloud_admin", "identity:update_identity_provider": "rule:cloud_admin", "identity:delete_identity_provider": "rule:cloud_admin",