← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1354408] Re: Role list in tokens does not match identity-api spec

 

I agree, the documentation should be fixed for this.

** Tags added: identity-api

** Project changed: keystone => openstack-api-site

** Changed in: openstack-api-site
       Status: New => Confirmed

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

Title:
  Role list in tokens does not match identity-api spec

Status in OpenStack API documentation site:
  Confirmed

Bug description:
  According to the identity-api specification the list or roles in a
  scoped token is of the form:

              "roles": [
                  {
                      "id": "76e72a",
                      "links": {
                          "self": "http://identity:35357/v3/roles/76e72a";
                      },
                      "name": "admin"
                  },
                  {
                      "id": "f4f392",
                      "links": {
                          "self": "http://identity:35357/v3/roles/f4f392";
                      },
                      "name": "member"
                  }
              ],

  https://github.com/openstack/identity-api/blob/master/v3/src/markdown
  /identity-api-v3.md#authenticate-post-authtokens

  In fact , the links are not present in our tokens (presumably to keep
  token size down?), so a token role list actually looks like:

              "roles": [
                  {
                      "id": "76e72a",
                      "name": "admin"
                  },
                  {
                      "id": "f4f392",
                      "name": "member"
                  }
              ],

  I am presuming we should fix the documentation to match?

To manage notifications about this bug go to:
https://bugs.launchpad.net/openstack-api-site/+bug/1354408/+subscriptions


References