v2 does not filter is_domain=True projects in get_project_by_name

Bug #1496943 reported by Henrique Truta
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
High
Henrique Truta

Bug Description

keystone v2 must not return any project that has is_domain field set True. This is not done at get_project_by_name, as in here:
https://github.com/openstack/keystone/blob/master/keystone/resource/controllers.py#L77

Changed in keystone:
assignee: nobody → Henrique Truta (henriquetruta)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/224842

Changed in keystone:
status: New → In Progress
Revision history for this message
Dolph Mathews (dolph) wrote :

Is this a problem in previous stable releases?

Changed in keystone:
importance: Undecided → High
tags: added: kilo-backport-potential
tags: added: hierarchical-multitenancy
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/224842
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=64c28885dd7fdaa47b5178071c591c72d34dcf8e
Submitter: Jenkins
Branch: master

commit 64c28885dd7fdaa47b5178071c591c72d34dcf8e
Author: henriquetruta <email address hidden>
Date: Thu Sep 17 14:33:29 2015 -0300

    Filters is_domain=True in v2 get_project_by_name

    Projects with the is_domain flag set True must not be seen from Keystone
    v2. This patch makes those projects invisible in v2's
    get_project_by_name.

    bp reseller

    Co-Authored-By: Rodrigo Duarte <email address hidden>

    Change-Id: Ibaf81b5d3c9fcc3c4c3e9ebc77a02ef0cecf6dec
    Closes-Bug: 1496943

Changed in keystone:
status: In Progress → Fix Committed
Changed in keystone:
milestone: none → mitaka-1
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/keystone 9.0.0.0b1

This issue was fixed in the openstack/keystone 9.0.0.0b1 development milestone.

Changed in keystone:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.