430d7f765a
Now user can add the description to the role when user creates the role. Added support for a ``description`` attribute for V3 Identity Roles. Co-Authored-By: wangxiyuan<wangxiyuan@huawei.com> Co-Authored-By: Deepak Mourya<deepakmoriya7@gmail.com> Change-Id: I230af9cc833af13064636b5d9a7ce6334c3f6e9a Closes-Bug: #1669080
64 lines
2.3 KiB
JSON
64 lines
2.3 KiB
JSON
{
|
|
"role_inferences": [
|
|
{
|
|
"prior_role": {
|
|
"id": "1acd3c5aa0e246b9a7427d252160dcd1",
|
|
"links": {
|
|
"self": "http://example.com/identity/v3/roles/1acd3c5aa0e246b9a7427d252160dcd1"
|
|
},
|
|
"description": "My new role",
|
|
"name": "prior role name"
|
|
},
|
|
"implies": [
|
|
{
|
|
"id": "3602510e2e1f499589f78a0724dcf614",
|
|
"links": {
|
|
"self": "http://example.com/identity/v3/roles/3602510e2e1f499589f78a0724dcf614"
|
|
},
|
|
"description": "My new role",
|
|
"name": "implied role1 name"
|
|
},
|
|
{
|
|
"id": "738289aeef684e73a987f7cf2ec6d925",
|
|
"links": {
|
|
"self": "http://example.com/identity/v3/roles/738289aeef684e73a987f7cf2ec6d925"
|
|
},
|
|
"description": "My new role",
|
|
"name": "implied role2 name"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"prior_role": {
|
|
"id": "bbf7a5098bb34407b7164eb6ff9f144e",
|
|
"links": {
|
|
"self" : "http://example.com/identity/v3/roles/bbf7a5098bb34407b7164eb6ff9f144e"
|
|
},
|
|
"description": "My new role",
|
|
"name": "prior role name"
|
|
},
|
|
"implies": [
|
|
{
|
|
"id": "872b20ad124c4c1bafaef2b1aae316ab",
|
|
"links": {
|
|
"self": "http://example.com/identity/v3/roles/872b20ad124c4c1bafaef2b1aae316ab"
|
|
},
|
|
"description": null,
|
|
"name": "implied role1 name"
|
|
},
|
|
{
|
|
"id": "1d865b1b2da14cb7b05254677e5f36a2",
|
|
"links": {
|
|
"self": "http://example.com/identity/v3/roles/1d865b1b2da14cb7b05254677e5f36a2"
|
|
},
|
|
"description": null,
|
|
"name": "implied role2 name"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"links": {
|
|
"self": "http://example.com/identity/v3/role_inferences"
|
|
}
|
|
}
|