ValidateToken call to return roles

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

Bug Description

Additional tests.
Minor code refactoring.
Support to return roles specific to a tenant for a validate token call.

Revision history for this message
klmitch (q-noreply) wrote :

Cool.

./keystone-manage role grant Admin joeuser 1234
Successfully granted joeuser the Admin role on 1234
$ curl -H "X-Auth-Token: 999888777666" -H "Content-type: application/json" http://localhost:8081/v2.0/tokens/887665443383838
{"auth": {"token": {"expires": "2012-02-05T00:00:00", "id": "887665443383838", "tenantId": "1234"}, "user": {"username": "joeuser", "roleRefs": [{"roleId": "Admin", "id": 6, "tenantId": "1234"}], "tenantId": "1234"}}}

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.