Bug 1571464

Summary: Typo. Reference to identity:get_identity_providers in Horizon
Product: Red Hat OpenStack Reporter: Mircea Vutcovici <mircea.vutcovici>
Component: python-django-horizonAssignee: Radomir Dopieralski <rdopiera>
Status: CLOSED UPSTREAM QA Contact: Beth White <beth.white>
Severity: medium Docs Contact:
Priority: medium    
Version: 10.0 (Newton)CC: athomas, mrunge, shrjoshi, srevivo, ukalifon
Target Milestone: Upstream M2Keywords: Triaged
Target Release: 14.0 (Rocky)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: python-django-horizon-14.0.0-0.20180430085158.70e8977.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-23 17:24:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mircea Vutcovici 2018-04-24 21:25:55 UTC
Description of problem:
There is a keystone upstram bug: https://bugs.launchpad.net/keystone/+bug/1703369
In this bug "identity:get_identity_providers" was used as default instead of "identity:get_identity_provider". The identity:get_identity_provider should be at singular (no trailing "s").

Same typo exists in Horizon unit testing and documentation and it is not yet fixed.

Version-Release number of selected component (if applicable):
Latest version in git source 
https://github.com/openstack/horizon/search?utf8=%E2%9C%93&q=identity%3Aget_identity_providers&type=

$ grep -r get_identity_providers
doc/source/contributor/topics/policy.rst:   identity:get_identity_providers
openstack_auth/tests/conf/keystone_policy.json:    "identity:get_identity_providers": "rule:admin_required",
openstack_auth/tests/conf/policy.v3cloudsample.json:    "identity:get_identity_providers": "rule:cloud_admin",

Comment 5 Radomir Dopieralski 2018-04-27 10:13:27 UTC
There are no mentions of that policy name in Horizon in OSP10, OSP11 or OSP12, so no backports for those versions are necessary.