EC2 controller should not get credentials other than the ones whose type is "ec2"

Bug #1506473 reported by Tony Wang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Medium
Tony Wang

Bug Description

The EC2 extension interacts with credential APIs. New credentials created by EC2 extension are with the "type" property, the value is "ec2", but when the credentials are queried, there is no filter for "type", so all credentials satisfied with other criteria (in this case, "user_id") are returned.

Tony Wang (wwwjfy)
Changed in keystone:
assignee: nobody → Tony Wang (muyu)
Changed in keystone:
status: New → In Progress
Revision history for this message
Steve Martinelli (stevemar) wrote :
Changed in keystone:
importance: Undecided → Medium
Changed in keystone:
milestone: none → mitaka-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/235214
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=9fc1cc67d993cfa0afc46aaea2802e1c35445f77
Submitter: Jenkins
Branch: master

commit 9fc1cc67d993cfa0afc46aaea2802e1c35445f77
Author: Tony Wang <email address hidden>
Date: Thu Oct 15 17:00:22 2015 +0800

    Add `type' filter for list_credentials_for_user

    When getting, or operating on a credential, EC2 controller needs to
    specify it's a ec2 credential, avoiding conflicts with other type of
    credentials.

    Closes-Bug: #1506473
    Change-Id: Id92fc87bf1be5448aa929224bbce4d3f7f4359b6

Changed in keystone:
status: In Progress → Fix Released
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/keystone 9.0.0.0b2

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

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.