ValidateToken call to return roles
Bug #843179 reported by
klmitch
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.
To post a comment you must log in.
Cool.
./keystone-manage role grant Admin joeuser 1234 localhost: 8081/v2. 0/tokens/ 887665443383838 05T00:00: 00", "id": "887665443383838", "tenantId": "1234"}, "user": {"username": "joeuser", "roleRefs": [{"roleId": "Admin", "id": 6, "tenantId": "1234"}], "tenantId": "1234"}}}
Successfully granted joeuser the Admin role on 1234
$ curl -H "X-Auth-Token: 999888777666" -H "Content-type: application/json" http://
{"auth": {"token": {"expires": "2012-02-