Comment 1 for bug 843179

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"}}}