keystone/api-ref/source/v3/samples/admin/policy-create-response.json
Steve Martinelli abe6157e5a [api] remove user_id and project_id from policy
There is no user ID and project ID support for the /v3/policy
APIs. The schema [1] validates this.

[1] https://github.com/openstack/keystone/blob/master/keystone/policy/schema.py

Change-Id: I53197412c60513756bce42089f5e959d6c9a7c34
Closes-Bug: #1448602
2016-10-11 15:50:02 -04:00

11 lines
292 B
JSON

{
"policy": {
"links": {
"self": "http://example.com/identity/v3/policies/88f5b83f8f8e41daba4c25eed1a7bbc6"
},
"blob": "{'foobar_user': 'role:compute-user'}",
"type": "application/json",
"id": "88f5b83f8f8e41daba4c25eed1a7bbc6"
}
}