← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1065233] Re: Roles in XML response of v2 Validate Token Call not inline with Identity Service Documentation

 

++

** Changed in: keystone
       Status: Triaged => Won't Fix

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1065233

Title:
  Roles in XML response of v2 Validate Token Call not inline with
  Identity Service Documentation

Status in OpenStack Identity (Keystone):
  Won't Fix

Bug description:
  Response payload from v2.0/tokens/{tokenId}​  does not match what is
  documented at http://docs.openstack.org/api/openstack-identity-
  service/2.0/content/GET_validateToken_v2
  .0_tokens__tokenId__Admin_API_Service_Developer_Operations-
  d1e1356.html

  Keystone currently returns a users information in this way

    <user username="demo" id="5c697d0fe4d842aba370f84d96b51ffb" name="demo">
      <role id="1385955b72744bf0850d154294d2469d" name="netadmin"/>
      <role id="250e112e64a74b6fb9bd2a82540b1256" name="Member"/>
      <role id="320d7f779221432094007e3727f6f527" name="sysadmin"/>
    </user>

  While the documentation specifies that the response be formatted in
  this way

  <user id="123" name="jqsmith">
    <roles xmlns="http://docs.openstack.org/identity/api/v2.0";>
     <role id="123" name="Admin" tenantId="one"/>
     <role id="234" name="object-store:admin" tenantId="1"/>
    </roles>
  </user>

  
  Keystone does not have the <roles> object wrapping the list of <role> objects.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1065233/+subscriptions