)]}'
{"api/identity-api-v3.rst":[{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"7acdd67ca7b4cef7e6d0d7307198bc13793cfdd4","unresolved":false,"context_lines":[{"line_number":3452,"context_line":""},{"line_number":3453,"context_line":"::"},{"line_number":3454,"context_line":""},{"line_number":3455,"context_line":"    Status: 204 No Content"},{"line_number":3456,"context_line":""},{"line_number":3457,"context_line":"Users"},{"line_number":3458,"context_line":"~~~~~"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9aa7fdbe_e5916b9b","line":3455,"updated":"2014-10-22 06:03:43.000000000","message":"Some content is missing from the original patch:\n\nhttps://review.openstack.org/#/c/111355/19/v3/src/markdown/identity-api-v3.md line 2957\n\nFrom original patch:\n* New in version 3.4 *\n\n* The deletion of a project that is not a leaf in the project\u0027s\t\n hierarchy, thus it is a parent from one or more projects, \t should fail with a `403 Forbidden Action`","commit_id":"9c81d296151159f7e8d090c763e4b8bfea4da8f9"}],"api/v3/identity-api-v3.rst":[{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"a88059ca43032b24e8cfa28225b5513067fd8edd","unresolved":false,"context_lines":[{"line_number":13,"context_line":"-------------------------"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"- Addition of `parent_id` optional attribute to projects. It enables the"},{"line_number":16,"context_line":"  possibility to have a project\u0027s hierarchy."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"What\u0027s New in Version 3.3"},{"line_number":19,"context_line":"-------------------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_4437f9fe","line":16,"updated":"2014-10-28 19:08:26.000000000","message":"change \"project\u0027s\" to \"project\"","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"a73927a010e101b942955cdb46b2b4758c904fef","unresolved":false,"context_lines":[{"line_number":13,"context_line":"-------------------------"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"- Addition of `parent_id` optional attribute to projects. It enables the"},{"line_number":16,"context_line":"  possibility to have a project\u0027s hierarchy."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"What\u0027s New in Version 3.3"},{"line_number":19,"context_line":"-------------------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_623a2de8","line":16,"in_reply_to":"9aa7fdbe_4437f9fe","updated":"2014-10-28 20:31:23.000000000","message":"Done","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"a88059ca43032b24e8cfa28225b5513067fd8edd","unresolved":false,"context_lines":[{"line_number":822,"context_line":"- ``parent_id`` (string) *New in version 3.4*"},{"line_number":823,"context_line":""},{"line_number":824,"context_line":"References the parent project; if a parent project is not specified by the"},{"line_number":825,"context_line":"client, the Identity service implementation will consider as the project is"},{"line_number":826,"context_line":"a top-level project (without any parents)."},{"line_number":827,"context_line":""},{"line_number":828,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_e4562d29","line":825,"updated":"2014-10-28 19:08:26.000000000","message":"remove \"implementation\"\n\nchange \"as the project is\" to \"the project to be\"","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"a73927a010e101b942955cdb46b2b4758c904fef","unresolved":false,"context_lines":[{"line_number":822,"context_line":"- ``parent_id`` (string) *New in version 3.4*"},{"line_number":823,"context_line":""},{"line_number":824,"context_line":"References the parent project; if a parent project is not specified by the"},{"line_number":825,"context_line":"client, the Identity service implementation will consider as the project is"},{"line_number":826,"context_line":"a top-level project (without any parents)."},{"line_number":827,"context_line":""},{"line_number":828,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_221bc581","line":825,"in_reply_to":"9aa7fdbe_e4562d29","updated":"2014-10-28 20:31:23.000000000","message":"Done","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":5707,"name":"Henry Nash","email":"henryn@linux.vnet.ibm.com","username":"henry-nash"},"change_message_id":"517920877890e5dfea41d41b36f7e9906c0135af","unresolved":false,"context_lines":[{"line_number":823,"context_line":""},{"line_number":824,"context_line":"References the parent project; if a parent project is not specified by the"},{"line_number":825,"context_line":"client, the Identity service implementation will consider as the project is"},{"line_number":826,"context_line":"a top-level project (without any parents)."},{"line_number":827,"context_line":""},{"line_number":828,"context_line":""},{"line_number":829,"context_line":"-  ``description`` (string)"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_47c0db4f","line":826,"updated":"2014-10-28 19:25:36.000000000","message":"Should we mention that the parent must be in the same domain?","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"a73927a010e101b942955cdb46b2b4758c904fef","unresolved":false,"context_lines":[{"line_number":823,"context_line":""},{"line_number":824,"context_line":"References the parent project; if a parent project is not specified by the"},{"line_number":825,"context_line":"client, the Identity service implementation will consider as the project is"},{"line_number":826,"context_line":"a top-level project (without any parents)."},{"line_number":827,"context_line":""},{"line_number":828,"context_line":""},{"line_number":829,"context_line":"-  ``description`` (string)"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_e2045d19","line":826,"in_reply_to":"9aa7fdbe_47c0db4f","updated":"2014-10-28 20:31:23.000000000","message":"Done","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"a88059ca43032b24e8cfa28225b5513067fd8edd","unresolved":false,"context_lines":[{"line_number":825,"context_line":"client, the Identity service implementation will consider as the project is"},{"line_number":826,"context_line":"a top-level project (without any parents)."},{"line_number":827,"context_line":""},{"line_number":828,"context_line":""},{"line_number":829,"context_line":"-  ``description`` (string)"},{"line_number":830,"context_line":""},{"line_number":831,"context_line":"-  ``enabled`` (boolean)"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_24bf5562","line":828,"updated":"2014-10-28 19:08:26.000000000","message":"remove extra newline.","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"a73927a010e101b942955cdb46b2b4758c904fef","unresolved":false,"context_lines":[{"line_number":825,"context_line":"client, the Identity service implementation will consider as the project is"},{"line_number":826,"context_line":"a top-level project (without any parents)."},{"line_number":827,"context_line":""},{"line_number":828,"context_line":""},{"line_number":829,"context_line":"-  ``description`` (string)"},{"line_number":830,"context_line":""},{"line_number":831,"context_line":"-  ``enabled`` (boolean)"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_02008100","line":828,"in_reply_to":"9aa7fdbe_24bf5562","updated":"2014-10-28 20:31:23.000000000","message":"Done","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"a88059ca43032b24e8cfa28225b5513067fd8edd","unresolved":false,"context_lines":[{"line_number":845,"context_line":"            \"enabled\": true,"},{"line_number":846,"context_line":"            \"id\": \"263fd9\","},{"line_number":847,"context_line":"            \"name\": \"project-x\","},{"line_number":848,"context_line":"            \"parent_id\": \"183tp2\","},{"line_number":849,"context_line":"            \"links\": {"},{"line_number":850,"context_line":"                \"self\": \"http://identity:35357/v3/projects/263fd9\""},{"line_number":851,"context_line":"            }"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_84b80176","line":848,"updated":"2014-10-28 19:08:26.000000000","message":"tp is outside the range of hex chars.","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"a73927a010e101b942955cdb46b2b4758c904fef","unresolved":false,"context_lines":[{"line_number":845,"context_line":"            \"enabled\": true,"},{"line_number":846,"context_line":"            \"id\": \"263fd9\","},{"line_number":847,"context_line":"            \"name\": \"project-x\","},{"line_number":848,"context_line":"            \"parent_id\": \"183tp2\","},{"line_number":849,"context_line":"            \"links\": {"},{"line_number":850,"context_line":"                \"self\": \"http://identity:35357/v3/projects/263fd9\""},{"line_number":851,"context_line":"            }"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_9d15b041","line":848,"in_reply_to":"9aa7fdbe_84b80176","updated":"2014-10-28 20:31:23.000000000","message":"Done","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"a88059ca43032b24e8cfa28225b5513067fd8edd","unresolved":false,"context_lines":[{"line_number":3134,"context_line":""},{"line_number":3135,"context_line":"*New in version 3.4*"},{"line_number":3136,"context_line":""},{"line_number":3137,"context_line":"Optional query parameters:"},{"line_number":3138,"context_line":""},{"line_number":3139,"context_line":"- ``subtree`` (key-only, no value expected)"},{"line_number":3140,"context_line":"- ``parents`` (key-only, no value expected)"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_c474c9d0","line":3137,"updated":"2014-10-28 19:08:26.000000000","message":"Remove \"Optional\" since it\u0027s implied by REST.","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"a73927a010e101b942955cdb46b2b4758c904fef","unresolved":false,"context_lines":[{"line_number":3134,"context_line":""},{"line_number":3135,"context_line":"*New in version 3.4*"},{"line_number":3136,"context_line":""},{"line_number":3137,"context_line":"Optional query parameters:"},{"line_number":3138,"context_line":""},{"line_number":3139,"context_line":"- ``subtree`` (key-only, no value expected)"},{"line_number":3140,"context_line":"- ``parents`` (key-only, no value expected)"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_1d29c089","line":3137,"in_reply_to":"9aa7fdbe_c474c9d0","updated":"2014-10-28 20:31:23.000000000","message":"Done","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":5707,"name":"Henry Nash","email":"henryn@linux.vnet.ibm.com","username":"henry-nash"},"change_message_id":"517920877890e5dfea41d41b36f7e9906c0135af","unresolved":false,"context_lines":[{"line_number":3150,"context_line":"            \"domain_id\": \"1789d1\","},{"line_number":3151,"context_line":"            \"enabled\": true,"},{"line_number":3152,"context_line":"            \"id\": \"263fd9\","},{"line_number":3153,"context_line":"            \"parent_id\": \"183tp2\","},{"line_number":3154,"context_line":"            \"domain_id\": \"default\","},{"line_number":3155,"context_line":"            \"links\": {"},{"line_number":3156,"context_line":"                \"self\": \"https://identity:35357/v3/projects/263fd9\""}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_0770933e","line":3153,"updated":"2014-10-28 19:25:36.000000000","message":"these are in alphabetical order...so parent_id should be last...same for all the examples further down...","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"a73927a010e101b942955cdb46b2b4758c904fef","unresolved":false,"context_lines":[{"line_number":3150,"context_line":"            \"domain_id\": \"1789d1\","},{"line_number":3151,"context_line":"            \"enabled\": true,"},{"line_number":3152,"context_line":"            \"id\": \"263fd9\","},{"line_number":3153,"context_line":"            \"parent_id\": \"183tp2\","},{"line_number":3154,"context_line":"            \"domain_id\": \"default\","},{"line_number":3155,"context_line":"            \"links\": {"},{"line_number":3156,"context_line":"                \"self\": \"https://identity:35357/v3/projects/263fd9\""}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_dd32d8f0","line":3153,"in_reply_to":"9aa7fdbe_0770933e","updated":"2014-10-28 20:31:23.000000000","message":"Done","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"a88059ca43032b24e8cfa28225b5513067fd8edd","unresolved":false,"context_lines":[{"line_number":3151,"context_line":"            \"enabled\": true,"},{"line_number":3152,"context_line":"            \"id\": \"263fd9\","},{"line_number":3153,"context_line":"            \"parent_id\": \"183tp2\","},{"line_number":3154,"context_line":"            \"domain_id\": \"default\","},{"line_number":3155,"context_line":"            \"links\": {"},{"line_number":3156,"context_line":"                \"self\": \"https://identity:35357/v3/projects/263fd9\""},{"line_number":3157,"context_line":"            },"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_2498351b","line":3154,"updated":"2014-10-28 19:08:26.000000000","message":"there\u0027s already a domain_id at line 3150","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"a73927a010e101b942955cdb46b2b4758c904fef","unresolved":false,"context_lines":[{"line_number":3151,"context_line":"            \"enabled\": true,"},{"line_number":3152,"context_line":"            \"id\": \"263fd9\","},{"line_number":3153,"context_line":"            \"parent_id\": \"183tp2\","},{"line_number":3154,"context_line":"            \"domain_id\": \"default\","},{"line_number":3155,"context_line":"            \"links\": {"},{"line_number":3156,"context_line":"                \"self\": \"https://identity:35357/v3/projects/263fd9\""},{"line_number":3157,"context_line":"            },"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_fd2ddc8f","line":3154,"in_reply_to":"9aa7fdbe_2498351b","updated":"2014-10-28 20:31:23.000000000","message":"Done","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":5707,"name":"Henry Nash","email":"henryn@linux.vnet.ibm.com","username":"henry-nash"},"change_message_id":"517920877890e5dfea41d41b36f7e9906c0135af","unresolved":false,"context_lines":[{"line_number":3168,"context_line":""},{"line_number":3169,"context_line":"The entire parent hierarchy will be included in the response as a list in the"},{"line_number":3170,"context_line":"response. This list will contain all projects found by traversing up the"},{"line_number":3171,"context_line":"hierarchy to the top-level project."},{"line_number":3172,"context_line":""},{"line_number":3173,"context_line":"Response:"},{"line_number":3174,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_e76aaf7f","line":3171,"updated":"2014-10-28 19:25:36.000000000","message":"are we specifying that they are in order? Or must some one follow the parents\u0027 links to create the tree [not necessarily arguing for one of the other, just that we be clear]","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"a73927a010e101b942955cdb46b2b4758c904fef","unresolved":false,"context_lines":[{"line_number":3168,"context_line":""},{"line_number":3169,"context_line":"The entire parent hierarchy will be included in the response as a list in the"},{"line_number":3170,"context_line":"response. This list will contain all projects found by traversing up the"},{"line_number":3171,"context_line":"hierarchy to the top-level project."},{"line_number":3172,"context_line":""},{"line_number":3173,"context_line":"Response:"},{"line_number":3174,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_5ddc2846","line":3171,"in_reply_to":"9aa7fdbe_e76aaf7f","updated":"2014-10-28 20:31:23.000000000","message":"they will naturally be returned in this order, but we are not specifying it.","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"a88059ca43032b24e8cfa28225b5513067fd8edd","unresolved":false,"context_lines":[{"line_number":3307,"context_line":"                        \"enabled\": true,"},{"line_number":3308,"context_line":"                        \"links\": {"},{"line_number":3309,"context_line":"                            \"self\": \"identity:35357/v3/projects/9n1jhb\""},{"line_number":3310,"context_line":"                        },\t2838"},{"line_number":3311,"context_line":"                        \"id\": \"9n1jhb\","},{"line_number":3312,"context_line":"                        \"parent_id\": \"263fd9\","},{"line_number":3313,"context_line":"                        \"domain_id\": \"default\","}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_441e1971","line":3310,"updated":"2014-10-28 19:08:26.000000000","message":"clean this up.","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":2903,"name":"Morgan Fainberg","email":"morgan.fainberg@gmail.com","username":"mdrnstm"},"change_message_id":"13e89d980315a3f571644b8b30584f3d2ee3a326","unresolved":false,"context_lines":[{"line_number":3307,"context_line":"                        \"enabled\": true,"},{"line_number":3308,"context_line":"                        \"links\": {"},{"line_number":3309,"context_line":"                            \"self\": \"identity:35357/v3/projects/9n1jhb\""},{"line_number":3310,"context_line":"                        },\t2838"},{"line_number":3311,"context_line":"                        \"id\": \"9n1jhb\","},{"line_number":3312,"context_line":"                        \"parent_id\": \"263fd9\","},{"line_number":3313,"context_line":"                        \"domain_id\": \"default\","}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_c7da0b77","line":3310,"in_reply_to":"9aa7fdbe_441e1971","updated":"2014-10-28 19:15:54.000000000","message":"Whoops! Missed this one in converting to RST. Thanks!","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"a73927a010e101b942955cdb46b2b4758c904fef","unresolved":false,"context_lines":[{"line_number":3307,"context_line":"                        \"enabled\": true,"},{"line_number":3308,"context_line":"                        \"links\": {"},{"line_number":3309,"context_line":"                            \"self\": \"identity:35357/v3/projects/9n1jhb\""},{"line_number":3310,"context_line":"                        },\t2838"},{"line_number":3311,"context_line":"                        \"id\": \"9n1jhb\","},{"line_number":3312,"context_line":"                        \"parent_id\": \"263fd9\","},{"line_number":3313,"context_line":"                        \"domain_id\": \"default\","}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_fdea3cd6","line":3310,"in_reply_to":"9aa7fdbe_c7da0b77","updated":"2014-10-28 20:31:23.000000000","message":"Done","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"a88059ca43032b24e8cfa28225b5513067fd8edd","unresolved":false,"context_lines":[{"line_number":3389,"context_line":"*New in version 3.4*"},{"line_number":3390,"context_line":""},{"line_number":3391,"context_line":"* Adding a project with a parent_id pointing to a project that"},{"line_number":3392,"context_line":"  does not exist should fail with a ``404 Not Found``"},{"line_number":3393,"context_line":""},{"line_number":3394,"context_line":"Update project"},{"line_number":3395,"context_line":"^^^^^^^^^^^^^^"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_8414814d","line":3392,"updated":"2014-10-28 19:08:26.000000000","message":"change \"should fail\" to \"fails\"","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"a73927a010e101b942955cdb46b2b4758c904fef","unresolved":false,"context_lines":[{"line_number":3389,"context_line":"*New in version 3.4*"},{"line_number":3390,"context_line":""},{"line_number":3391,"context_line":"* Adding a project with a parent_id pointing to a project that"},{"line_number":3392,"context_line":"  does not exist should fail with a ``404 Not Found``"},{"line_number":3393,"context_line":""},{"line_number":3394,"context_line":"Update project"},{"line_number":3395,"context_line":"^^^^^^^^^^^^^^"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_bdcb5470","line":3392,"in_reply_to":"9aa7fdbe_8414814d","updated":"2014-10-28 20:31:23.000000000","message":"Done","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"a88059ca43032b24e8cfa28225b5513067fd8edd","unresolved":false,"context_lines":[{"line_number":3426,"context_line":"            \"description\": \"Project space for Build Group\","},{"line_number":3427,"context_line":"            \"domain_id\": \"1789d1\","},{"line_number":3428,"context_line":"            \"parent_id\": \"7ha612\","},{"line_number":3429,"context_line":"            \"enabled\": true,"},{"line_number":3430,"context_line":"            \"id\": \"d52e32\","},{"line_number":3431,"context_line":"            \"links\": {"},{"line_number":3432,"context_line":"                \"self\": \"https://identity:35357/v3/projects/d52e32\""}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_a7150741","line":3429,"updated":"2014-10-28 19:08:26.000000000","message":"If I disable a project do all the children get disabled, too?","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"a73927a010e101b942955cdb46b2b4758c904fef","unresolved":false,"context_lines":[{"line_number":3426,"context_line":"            \"description\": \"Project space for Build Group\","},{"line_number":3427,"context_line":"            \"domain_id\": \"1789d1\","},{"line_number":3428,"context_line":"            \"parent_id\": \"7ha612\","},{"line_number":3429,"context_line":"            \"enabled\": true,"},{"line_number":3430,"context_line":"            \"id\": \"d52e32\","},{"line_number":3431,"context_line":"            \"links\": {"},{"line_number":3432,"context_line":"                \"self\": \"https://identity:35357/v3/projects/d52e32\""}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_bd799430","line":3429,"in_reply_to":"9aa7fdbe_a7150741","updated":"2014-10-28 20:31:23.000000000","message":"Hmm haven\u0027t thought about this, maybe we shouldn\u0027t allow that? Just for leaf projects (like we do for deletion)","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":5707,"name":"Henry Nash","email":"henryn@linux.vnet.ibm.com","username":"henry-nash"},"change_message_id":"517920877890e5dfea41d41b36f7e9906c0135af","unresolved":false,"context_lines":[{"line_number":3437,"context_line":""},{"line_number":3438,"context_line":"* New in version 3.4 *"},{"line_number":3439,"context_line":""},{"line_number":3440,"context_line":"* The update from the parent_id is not allowed and should fail"},{"line_number":3441,"context_line":"  with a ``403 Forbidden Action``"},{"line_number":3442,"context_line":""},{"line_number":3443,"context_line":"Delete project"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_67e6bfe9","line":3440,"updated":"2014-10-28 19:25:36.000000000","message":"also...s/should/will/","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"a88059ca43032b24e8cfa28225b5513067fd8edd","unresolved":false,"context_lines":[{"line_number":3437,"context_line":""},{"line_number":3438,"context_line":"* New in version 3.4 *"},{"line_number":3439,"context_line":""},{"line_number":3440,"context_line":"* The update from the parent_id is not allowed and should fail"},{"line_number":3441,"context_line":"  with a ``403 Forbidden Action``"},{"line_number":3442,"context_line":""},{"line_number":3443,"context_line":"Delete project"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_e4046d19","line":3440,"updated":"2014-10-28 19:08:26.000000000","message":"change \"from\" to \"of\"?","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"a73927a010e101b942955cdb46b2b4758c904fef","unresolved":false,"context_lines":[{"line_number":3437,"context_line":""},{"line_number":3438,"context_line":"* New in version 3.4 *"},{"line_number":3439,"context_line":""},{"line_number":3440,"context_line":"* The update from the parent_id is not allowed and should fail"},{"line_number":3441,"context_line":"  with a ``403 Forbidden Action``"},{"line_number":3442,"context_line":""},{"line_number":3443,"context_line":"Delete project"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_dd749837","line":3440,"in_reply_to":"9aa7fdbe_67e6bfe9","updated":"2014-10-28 20:31:23.000000000","message":"Done","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"a88059ca43032b24e8cfa28225b5513067fd8edd","unresolved":false,"context_lines":[{"line_number":3438,"context_line":"* New in version 3.4 *"},{"line_number":3439,"context_line":""},{"line_number":3440,"context_line":"* The update from the parent_id is not allowed and should fail"},{"line_number":3441,"context_line":"  with a ``403 Forbidden Action``"},{"line_number":3442,"context_line":""},{"line_number":3443,"context_line":"Delete project"},{"line_number":3444,"context_line":"^^^^^^^^^^^^^^"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_04009100","line":3441,"updated":"2014-10-28 19:08:26.000000000","message":"Remove \"Action\"","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"a73927a010e101b942955cdb46b2b4758c904fef","unresolved":false,"context_lines":[{"line_number":3438,"context_line":"* New in version 3.4 *"},{"line_number":3439,"context_line":""},{"line_number":3440,"context_line":"* The update from the parent_id is not allowed and should fail"},{"line_number":3441,"context_line":"  with a ``403 Forbidden Action``"},{"line_number":3442,"context_line":""},{"line_number":3443,"context_line":"Delete project"},{"line_number":3444,"context_line":"^^^^^^^^^^^^^^"}],"source_content_type":"text/x-rst","patch_set":4,"id":"9aa7fdbe_fd6f9c5d","line":3441,"in_reply_to":"9aa7fdbe_04009100","updated":"2014-10-28 20:31:23.000000000","message":"Done","commit_id":"07f72fcc80ba7048f142c4b5db4b14ff81bea959"},{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"3902a05dc4c4811b6ba505bc0bd52f88a7b38ffe","unresolved":false,"context_lines":[{"line_number":3200,"context_line":""},{"line_number":3201,"context_line":"::"},{"line_number":3202,"context_line":""},{"line_number":3203,"context_line":"    GET /projects/{project_id}?subtree"},{"line_number":3204,"context_line":""},{"line_number":3205,"context_line":"The entire child hierarchy will be included in the response as a list in the"},{"line_number":3206,"context_line":"response. This list will contain all projects found by traversing down the"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9aa7fdbe_44160ca9","line":3203,"updated":"2014-10-29 07:17:23.000000000","message":"i think the responses to the calls are mixed up,\n\nfor ?subtree you show parents and subtree, and for ?parents\u0026subtree you just show subtree.","commit_id":"e3d625f9946645caaa8ddfe2ca54ed6e97056977"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"ac6f8e16d619156352c15156b8dcfd645631a476","unresolved":false,"context_lines":[{"line_number":3200,"context_line":""},{"line_number":3201,"context_line":"::"},{"line_number":3202,"context_line":""},{"line_number":3203,"context_line":"    GET /projects/{project_id}?subtree"},{"line_number":3204,"context_line":""},{"line_number":3205,"context_line":"The entire child hierarchy will be included in the response as a list in the"},{"line_number":3206,"context_line":"response. This list will contain all projects found by traversing down the"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9aa7fdbe_e24febbc","line":3203,"in_reply_to":"9aa7fdbe_44160ca9","updated":"2014-10-29 12:08:20.000000000","message":"oops, thanks \u003d)","commit_id":"e3d625f9946645caaa8ddfe2ca54ed6e97056977"},{"author":{"_account_id":1916,"name":"Guang Yee","email":"gyee@suse.com","username":"guang-yee"},"change_message_id":"720cb8bc9e1c6b846ec0a3de47067f17400b5a2d","unresolved":false,"context_lines":[{"line_number":3267,"context_line":""},{"line_number":3268,"context_line":"::"},{"line_number":3269,"context_line":""},{"line_number":3270,"context_line":"    GET /projects/{project_id}?parents\u0026subtree"},{"line_number":3271,"context_line":""},{"line_number":3272,"context_line":"Both the parent and child hierarchies will be included in the response."},{"line_number":3273,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a8c0949_61681588","line":3270,"updated":"2014-11-04 13:41:02.000000000","message":"?parents\u0026subtree feels weird. Can\u0027t we just use something like \"hierarchy\" to get the whole thing? Anyway, not a big deal. I am fine with either.","commit_id":"5486dce8b751032cbbcb5a7fe03fc176aba5c3a5"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"a0d49510e5db9a4948a93fe70fce855d9a9c7e02","unresolved":false,"context_lines":[{"line_number":3267,"context_line":""},{"line_number":3268,"context_line":"::"},{"line_number":3269,"context_line":""},{"line_number":3270,"context_line":"    GET /projects/{project_id}?parents\u0026subtree"},{"line_number":3271,"context_line":""},{"line_number":3272,"context_line":"Both the parent and child hierarchies will be included in the response."},{"line_number":3273,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a8c0949_611655f3","line":3270,"in_reply_to":"7a8c0949_61681588","updated":"2014-11-04 13:43:40.000000000","message":"Yeah, the initial plan was to have 3 different queries: subtree, parents and hierarchy. But we thought that could be confusing for the end user and since passing both subtree and parents returns the whole thing, we decided to keep in that way.","commit_id":"5486dce8b751032cbbcb5a7fe03fc176aba5c3a5"},{"author":{"_account_id":220,"name":"Haneef Ali","email":"haneef.ali@hp.com","username":"haneef"},"change_message_id":"931c76b7ee26abf41e44bc47bf669a551e39b1fd","unresolved":false,"context_lines":[{"line_number":3359,"context_line":"            \"description\": \"Project space for Test Group\","},{"line_number":3360,"context_line":"            \"domain_id\": \"1789d1\","},{"line_number":3361,"context_line":"            \"enabled\": true,"},{"line_number":3362,"context_line":"            \"name\": \"Test Group\","},{"line_number":3363,"context_line":"            \"parent_id\": \"7fa612\""},{"line_number":3364,"context_line":"        }"},{"line_number":3365,"context_line":"    }"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a8c0949_bab4f1d1","line":3362,"updated":"2014-11-03 19:27:07.000000000","message":"Is parent id required param?","commit_id":"5486dce8b751032cbbcb5a7fe03fc176aba5c3a5"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"11c55d83cb9c8b1c10324f325f6c453533a2e815","unresolved":false,"context_lines":[{"line_number":3359,"context_line":"            \"description\": \"Project space for Test Group\","},{"line_number":3360,"context_line":"            \"domain_id\": \"1789d1\","},{"line_number":3361,"context_line":"            \"enabled\": true,"},{"line_number":3362,"context_line":"            \"name\": \"Test Group\","},{"line_number":3363,"context_line":"            \"parent_id\": \"7fa612\""},{"line_number":3364,"context_line":"        }"},{"line_number":3365,"context_line":"    }"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a8c0949_e6b09b8d","line":3362,"in_reply_to":"7a8c0949_bab4f1d1","updated":"2014-11-04 13:18:18.000000000","message":"No, it is listed as optional parameter in the line 822.","commit_id":"5486dce8b751032cbbcb5a7fe03fc176aba5c3a5"},{"author":{"_account_id":1228,"name":"Joe Savak","email":"jsavak@gmail.com","username":"jsavak"},"change_message_id":"15ab57e8fc94bd5048df216a2daf56b579d3a43c","unresolved":false,"context_lines":[{"line_number":3430,"context_line":"            },"},{"line_number":3431,"context_line":"            \"name\": \"Build Group\","},{"line_number":3432,"context_line":"            \"parent_id\": \"7fa612\""},{"line_number":3433,"context_line":"        }"},{"line_number":3434,"context_line":"    }"},{"line_number":3435,"context_line":""},{"line_number":3436,"context_line":"* New in version 3.4 *"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a8c0949_e972fcab","line":3433,"updated":"2014-11-07 12:13:02.000000000","message":"When I get a project, the construct for parent is plural and shows an array (giving the impression that a child can have many parents). However when I add a project, it only allows one parent. Which is true?","commit_id":"5486dce8b751032cbbcb5a7fe03fc176aba5c3a5"},{"author":{"_account_id":8866,"name":"Raildo Mascena de Sousa Filho","email":"rmascena@redhat.com","username":"raildo"},"change_message_id":"d1f5f59ebf5db038cc8e48f6f20cfd1cc8f6f6f4","unresolved":false,"context_lines":[{"line_number":3430,"context_line":"            },"},{"line_number":3431,"context_line":"            \"name\": \"Build Group\","},{"line_number":3432,"context_line":"            \"parent_id\": \"7fa612\""},{"line_number":3433,"context_line":"        }"},{"line_number":3434,"context_line":"    }"},{"line_number":3435,"context_line":""},{"line_number":3436,"context_line":"* New in version 3.4 *"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a8c0949_29e32406","line":3433,"in_reply_to":"7a8c0949_e9459c17","updated":"2014-11-07 12:22:20.000000000","message":"The hierarchy in the example:\n   ------- C\nA\n   ------- B ------- D","commit_id":"5486dce8b751032cbbcb5a7fe03fc176aba5c3a5"},{"author":{"_account_id":8866,"name":"Raildo Mascena de Sousa Filho","email":"rmascena@redhat.com","username":"raildo"},"change_message_id":"acb577f64779822c8e1406b8beb10f9b3fbbfeb1","unresolved":false,"context_lines":[{"line_number":3430,"context_line":"            },"},{"line_number":3431,"context_line":"            \"name\": \"Build Group\","},{"line_number":3432,"context_line":"            \"parent_id\": \"7fa612\""},{"line_number":3433,"context_line":"        }"},{"line_number":3434,"context_line":"    }"},{"line_number":3435,"context_line":""},{"line_number":3436,"context_line":"* New in version 3.4 *"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a8c0949_e9459c17","line":3433,"in_reply_to":"7a8c0949_e972fcab","updated":"2014-11-07 12:20:34.000000000","message":"When you get a project with the parents option, we retrieve a list of the hierarchy above your project. e.g. If you have a hierachy:\n\nA\n/ \\\nB C\n|\nD\n\nand you get the parents for D project: we retrieve a list with the B and A information.) So, the list contains the information for your father, and grandfather... and so on.","commit_id":"5486dce8b751032cbbcb5a7fe03fc176aba5c3a5"},{"author":{"_account_id":11333,"name":"David J Hu","email":"david.hu@hpe.com","username":"dhu"},"change_message_id":"fad49e8b9b109b63a638494e41ed81be8db33e94","unresolved":false,"context_lines":[{"line_number":3436,"context_line":"* New in version 3.4 *"},{"line_number":3437,"context_line":""},{"line_number":3438,"context_line":"* The update of the parent_id is not allowed and will fail"},{"line_number":3439,"context_line":"  with a ``403 Forbidden``"},{"line_number":3440,"context_line":""},{"line_number":3441,"context_line":"Delete project"},{"line_number":3442,"context_line":"^^^^^^^^^^^^^^"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a8c0949_27735681","line":3439,"updated":"2014-11-06 22:22:13.000000000","message":"Is there any plan to allow update of parent_id in the future?  I can see a scenario where a project needs to move to a different parent due to organizational changes ( Ex.  company splitting into 2 , re-org, ...etc).","commit_id":"5486dce8b751032cbbcb5a7fe03fc176aba5c3a5"},{"author":{"_account_id":1228,"name":"Joe Savak","email":"jsavak@gmail.com","username":"jsavak"},"change_message_id":"f287ccf027bcf744bb8e031c3b518ebbab5644ea","unresolved":false,"context_lines":[{"line_number":3436,"context_line":"* New in version 3.4 *"},{"line_number":3437,"context_line":""},{"line_number":3438,"context_line":"* The update of the parent_id is not allowed and will fail"},{"line_number":3439,"context_line":"  with a ``403 Forbidden``"},{"line_number":3440,"context_line":""},{"line_number":3441,"context_line":"Delete project"},{"line_number":3442,"context_line":"^^^^^^^^^^^^^^"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a8c0949_4e4f96bd","line":3439,"in_reply_to":"7a8c0949_27735681","updated":"2014-11-07 11:56:01.000000000","message":"+1 - i can see organizations wanting to use multi-projects for cost allocation purposes and re-orgs within a large company could place projects under the ownership of a new org. \n\nIf update of parent_id isn\u0027t allowed, perhaps a recommended approach to migrate to a new hierarchy is needed (with no impact to clients and openstack services).","commit_id":"5486dce8b751032cbbcb5a7fe03fc176aba5c3a5"},{"author":{"_account_id":8866,"name":"Raildo Mascena de Sousa Filho","email":"rmascena@redhat.com","username":"raildo"},"change_message_id":"6d0bc8f4c45c824dbdff54e88e3898eef7470abd","unresolved":false,"context_lines":[{"line_number":3436,"context_line":"* New in version 3.4 *"},{"line_number":3437,"context_line":""},{"line_number":3438,"context_line":"* The update of the parent_id is not allowed and will fail"},{"line_number":3439,"context_line":"  with a ``403 Forbidden``"},{"line_number":3440,"context_line":""},{"line_number":3441,"context_line":"Delete project"},{"line_number":3442,"context_line":"^^^^^^^^^^^^^^"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a8c0949_ae1c7a78","line":3439,"in_reply_to":"7a8c0949_4e4f96bd","updated":"2014-11-07 12:07:19.000000000","message":"We decided that we can\u0027t update the parent_id in the keystone-spec https://review.openstack.org/#/c/101017/26/specs/juno/hierarchical_multitenancy.rst\n\nThere is a topic here about this: https://etherpad.openstack.org/p/hierarchical-multitenancy-kilo-summit\n\nWe can discuss this topic today.","commit_id":"5486dce8b751032cbbcb5a7fe03fc176aba5c3a5"},{"author":{"_account_id":220,"name":"Haneef Ali","email":"haneef.ali@hp.com","username":"haneef"},"change_message_id":"931c76b7ee26abf41e44bc47bf669a551e39b1fd","unresolved":false,"context_lines":[{"line_number":3445,"context_line":""},{"line_number":3446,"context_line":"    DELETE /projects/{project_id}"},{"line_number":3447,"context_line":""},{"line_number":3448,"context_line":"Relationship:"},{"line_number":3449,"context_line":"``http://docs.openstack.org/api/openstack-identity/3/rel/project``"},{"line_number":3450,"context_line":""},{"line_number":3451,"context_line":"::"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a8c0949_daca9d4e","line":3448,"updated":"2014-11-03 19:27:07.000000000","message":"Is there a way to delete whole subtree?  How to remove the subtree?","commit_id":"5486dce8b751032cbbcb5a7fe03fc176aba5c3a5"},{"author":{"_account_id":8866,"name":"Raildo Mascena de Sousa Filho","email":"rmascena@redhat.com","username":"raildo"},"change_message_id":"6d0bc8f4c45c824dbdff54e88e3898eef7470abd","unresolved":false,"context_lines":[{"line_number":3445,"context_line":""},{"line_number":3446,"context_line":"    DELETE /projects/{project_id}"},{"line_number":3447,"context_line":""},{"line_number":3448,"context_line":"Relationship:"},{"line_number":3449,"context_line":"``http://docs.openstack.org/api/openstack-identity/3/rel/project``"},{"line_number":3450,"context_line":""},{"line_number":3451,"context_line":"::"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a8c0949_2e088a2c","line":3448,"in_reply_to":"7a8c0949_5054c920","updated":"2014-11-07 12:07:19.000000000","message":"There is a topic here https://etherpad.openstack.org/p/hierarchical-multitenancy-kilo-summit to discuss the possibility to create a option to delete the whole subtree.","commit_id":"5486dce8b751032cbbcb5a7fe03fc176aba5c3a5"},{"author":{"_account_id":2903,"name":"Morgan Fainberg","email":"morgan.fainberg@gmail.com","username":"mdrnstm"},"change_message_id":"c08f3a5e0bd2b8ae7fd3414724ad361ce8c97355","unresolved":false,"context_lines":[{"line_number":3445,"context_line":""},{"line_number":3446,"context_line":"    DELETE /projects/{project_id}"},{"line_number":3447,"context_line":""},{"line_number":3448,"context_line":"Relationship:"},{"line_number":3449,"context_line":"``http://docs.openstack.org/api/openstack-identity/3/rel/project``"},{"line_number":3450,"context_line":""},{"line_number":3451,"context_line":"::"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a8c0949_5054c920","line":3448,"in_reply_to":"7a8c0949_daca9d4e","updated":"2014-11-04 10:50:56.000000000","message":"This is answered below (line 3455).\n\nNo, right now you cannot delete the whole subtree, you can only delete the leaf\u0027s.","commit_id":"5486dce8b751032cbbcb5a7fe03fc176aba5c3a5"},{"author":{"_account_id":5707,"name":"Henry Nash","email":"henryn@linux.vnet.ibm.com","username":"henry-nash"},"change_message_id":"943febfba90abd3b14c43d7afce7e90a392cc81c","unresolved":false,"context_lines":[{"line_number":13,"context_line":"-------------------------"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"- Addition of `parent_id` optional attribute to projects. It enables the"},{"line_number":16,"context_line":"  possibility to have a project hierarchy."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"What\u0027s New in Version 3.3"},{"line_number":19,"context_line":"-------------------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a890539_7da7fe4f","line":16,"updated":"2014-11-11 10:24:01.000000000","message":"maybe a better second sentence would be:\n\n\"This enables the construction of a hierarchies of projects.\"","commit_id":"4bb828dcad2871b6ae312118aebc9da1f692d90c"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"465ae1cfc79926fef3346318ed506737c8895526","unresolved":false,"context_lines":[{"line_number":13,"context_line":"-------------------------"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"- Addition of `parent_id` optional attribute to projects. It enables the"},{"line_number":16,"context_line":"  possibility to have a project hierarchy."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"What\u0027s New in Version 3.3"},{"line_number":19,"context_line":"-------------------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a890539_e97c0c75","line":16,"in_reply_to":"5a890539_7da7fe4f","updated":"2014-11-11 12:39:47.000000000","message":"++","commit_id":"4bb828dcad2871b6ae312118aebc9da1f692d90c"},{"author":{"_account_id":2218,"name":"Adam Young","email":"adam@younglogic.com","username":"ayoung"},"change_message_id":"9369cb2779cefb6794fcd3bb9e37a6a3acdb4c4c","unresolved":false,"context_lines":[{"line_number":824,"context_line":"References the parent project; if a parent project is not specified by the"},{"line_number":825,"context_line":"client, the Identity service will consider the project to be a top-level"},{"line_number":826,"context_line":"project (without any parents). Also, the whole hierarchy should be at the same"},{"line_number":827,"context_line":"domain."},{"line_number":828,"context_line":""},{"line_number":829,"context_line":"-  ``description`` (string)"},{"line_number":830,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a890539_f3940d46","line":827,"updated":"2014-11-10 18:37:27.000000000","message":"\"In the same domain\"  what bout the case where a domain is a subordinate of another domain?","commit_id":"4bb828dcad2871b6ae312118aebc9da1f692d90c"},{"author":{"_account_id":5707,"name":"Henry Nash","email":"henryn@linux.vnet.ibm.com","username":"henry-nash"},"change_message_id":"943febfba90abd3b14c43d7afce7e90a392cc81c","unresolved":false,"context_lines":[{"line_number":824,"context_line":"References the parent project; if a parent project is not specified by the"},{"line_number":825,"context_line":"client, the Identity service will consider the project to be a top-level"},{"line_number":826,"context_line":"project (without any parents). Also, the whole hierarchy should be at the same"},{"line_number":827,"context_line":"domain."},{"line_number":828,"context_line":""},{"line_number":829,"context_line":"-  ``description`` (string)"},{"line_number":830,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a890539_dd9f1202","line":827,"in_reply_to":"5a890539_3376953f","updated":"2014-11-11 10:24:01.000000000","message":"So assuming this api change is meant to match the first project hierarchy implementation (and if and when we add \"domain-ness\" it will include an updated patch to this document), then I\u0027d say this is OK. \n\nHowever, maybe the words of the last sentence could be a bit clearer, e.g.:\n\n\"All projects within a hierarchy must be owned by the same domain.\"","commit_id":"4bb828dcad2871b6ae312118aebc9da1f692d90c"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"465ae1cfc79926fef3346318ed506737c8895526","unresolved":false,"context_lines":[{"line_number":824,"context_line":"References the parent project; if a parent project is not specified by the"},{"line_number":825,"context_line":"client, the Identity service will consider the project to be a top-level"},{"line_number":826,"context_line":"project (without any parents). Also, the whole hierarchy should be at the same"},{"line_number":827,"context_line":"domain."},{"line_number":828,"context_line":""},{"line_number":829,"context_line":"-  ``description`` (string)"},{"line_number":830,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a890539_69e73c41","line":827,"in_reply_to":"5a890539_dd9f1202","updated":"2014-11-11 12:39:47.000000000","message":"that\u0027s the plan @Henry, will update the last sentence, thanks.","commit_id":"4bb828dcad2871b6ae312118aebc9da1f692d90c"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"cd3a5158b043855a8bbc2680726a3862254fd866","unresolved":false,"context_lines":[{"line_number":824,"context_line":"References the parent project; if a parent project is not specified by the"},{"line_number":825,"context_line":"client, the Identity service will consider the project to be a top-level"},{"line_number":826,"context_line":"project (without any parents). Also, the whole hierarchy should be at the same"},{"line_number":827,"context_line":"domain."},{"line_number":828,"context_line":""},{"line_number":829,"context_line":"-  ``description`` (string)"},{"line_number":830,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a890539_3376953f","line":827,"in_reply_to":"5a890539_f3940d46","updated":"2014-11-10 18:39:32.000000000","message":"this is for the future, right? (domainess projects?)","commit_id":"4bb828dcad2871b6ae312118aebc9da1f692d90c"},{"author":{"_account_id":5707,"name":"Henry Nash","email":"henryn@linux.vnet.ibm.com","username":"henry-nash"},"change_message_id":"c99e9ece519dd31ecc9fb5ce8d5b2cc9fb07741e","unresolved":false,"context_lines":[{"line_number":3181,"context_line":"            },"},{"line_number":3182,"context_line":"            \"name\": \"Dev Group A\","},{"line_number":3183,"context_line":"            \"parent_id\": \"183ab2\","},{"line_number":3184,"context_line":"            \"parents\": ["},{"line_number":3185,"context_line":"                {"},{"line_number":3186,"context_line":"                    \"project\": {"},{"line_number":3187,"context_line":"                        \"domain_id\": \"1789d1\","}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a890539_c94f5091","line":3184,"updated":"2014-11-11 13:00:52.000000000","message":"a bit similar to the case below, I actually wouldn\u0027t expect this to be a list, but just be a parent object, and potentially within that, the parent of that object etc.","commit_id":"4bb828dcad2871b6ae312118aebc9da1f692d90c"},{"author":{"_account_id":5707,"name":"Henry Nash","email":"henryn@linux.vnet.ibm.com","username":"henry-nash"},"change_message_id":"484c87cc2cd6b7624294114f4da58e4f847b49d1","unresolved":false,"context_lines":[{"line_number":3204,"context_line":""},{"line_number":3205,"context_line":"The entire child hierarchy will be included in the response as a list in the"},{"line_number":3206,"context_line":"response. This list will contain all projects found by traversing down the"},{"line_number":3207,"context_line":"hierarchy."},{"line_number":3208,"context_line":""},{"line_number":3209,"context_line":"Response:"},{"line_number":3210,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a890539_4e7446cf","line":3207,"updated":"2014-11-11 12:25:13.000000000","message":"...to my comment below, why do we think that a (potentially randomly ordered list) is a good response here?  Would not a nest hierarchies make more sense (assuming there is more than one level)?","commit_id":"4bb828dcad2871b6ae312118aebc9da1f692d90c"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"465ae1cfc79926fef3346318ed506737c8895526","unresolved":false,"context_lines":[{"line_number":3204,"context_line":""},{"line_number":3205,"context_line":"The entire child hierarchy will be included in the response as a list in the"},{"line_number":3206,"context_line":"response. This list will contain all projects found by traversing down the"},{"line_number":3207,"context_line":"hierarchy."},{"line_number":3208,"context_line":""},{"line_number":3209,"context_line":"Response:"},{"line_number":3210,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a890539_69557cc5","line":3207,"in_reply_to":"5a890539_4e7446cf","updated":"2014-11-11 12:39:47.000000000","message":"We thought about this... Since it returns the parent_ids, the client can reconstruct the hierarchy, if desired. But for the use case that it was thought (hierarchical quotas), the random list is enough.","commit_id":"4bb828dcad2871b6ae312118aebc9da1f692d90c"},{"author":{"_account_id":5707,"name":"Henry Nash","email":"henryn@linux.vnet.ibm.com","username":"henry-nash"},"change_message_id":"c99e9ece519dd31ecc9fb5ce8d5b2cc9fb07741e","unresolved":false,"context_lines":[{"line_number":3204,"context_line":""},{"line_number":3205,"context_line":"The entire child hierarchy will be included in the response as a list in the"},{"line_number":3206,"context_line":"response. This list will contain all projects found by traversing down the"},{"line_number":3207,"context_line":"hierarchy."},{"line_number":3208,"context_line":""},{"line_number":3209,"context_line":"Response:"},{"line_number":3210,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a890539_69aadc1a","line":3207,"in_reply_to":"5a890539_69557cc5","updated":"2014-11-11 13:00:52.000000000","message":"I guess the issue I have is that it just isn\u0027t what I\u0027d expect to get back.  So of course the other use case is Horizon (or other UIs), where I\u0027d have thought that subtree hierarchy is exactly what you want.  I\u0027m not sure what the code for quotes will do, but I assume it will do some kind of cumulative sum for all the projects in the hierarchy?  I\u0027d argue that it\u0027s very little more code for quotas to do that with nested subtrees, while it is much more complicated for UIs to handle a flat list and re-construct the hierarchy. OK, sure, a UI could do this layer by layer (i.e. only list the next level when the user requested), but I\u0027s guess most responsive UIs would need to pre-build (or asynchronously build) the hierarchy internally or the UI would be too slow.","commit_id":"4bb828dcad2871b6ae312118aebc9da1f692d90c"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"9a5570cc9a87c7c28f443eb4ac3b4dca008cf488","unresolved":false,"context_lines":[{"line_number":3204,"context_line":""},{"line_number":3205,"context_line":"The entire child hierarchy will be included in the response as a list in the"},{"line_number":3206,"context_line":"response. This list will contain all projects found by traversing down the"},{"line_number":3207,"context_line":"hierarchy."},{"line_number":3208,"context_line":""},{"line_number":3209,"context_line":"Response:"},{"line_number":3210,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a890539_a44dcb74","line":3207,"in_reply_to":"5a890539_69aadc1a","updated":"2014-11-11 13:12:17.000000000","message":"The issue here is that we have potentially more than one subtree (maybe we should update the param to subtree*s*). So we\u0027d need to return a list anyway. I guess that for the layer that is building this it should not be a big deal to return the objects in a hieararchy fashion, but for me, seems odd to modify the project object with extra fields to support this kind of hierarchy.\n\nRegarding the client side, I think they can reconstruct the hierarchy using the full list and the parent_id fields (without the need to fetch it for each layer). For the example in this doc:\n\n1 The client knows the project_id: 263fd9\n2 Know it iterates over the subtree list looking for projects where parent_id\u003d263fd9\n3 For each project found in the last step, repeat\n\nWhat do you think?\n\nBTW, the code that handles this part is: https://github.com/openstack/keystone/commit/a98858e17087a6a1f3862d1a38c66f164fa15279","commit_id":"4bb828dcad2871b6ae312118aebc9da1f692d90c"},{"author":{"_account_id":5707,"name":"Henry Nash","email":"henryn@linux.vnet.ibm.com","username":"henry-nash"},"change_message_id":"7a46f56310dafc2be76e54d624aa802a305c66e9","unresolved":false,"context_lines":[{"line_number":3204,"context_line":""},{"line_number":3205,"context_line":"The entire child hierarchy will be included in the response as a list in the"},{"line_number":3206,"context_line":"response. This list will contain all projects found by traversing down the"},{"line_number":3207,"context_line":"hierarchy."},{"line_number":3208,"context_line":""},{"line_number":3209,"context_line":"Response:"},{"line_number":3210,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a890539_043bff3a","line":3207,"in_reply_to":"5a890539_a44dcb74","updated":"2014-11-11 13:39:36.000000000","message":"So clearly given a list (with links) one can re-construct a tree.  However, I guess my issue is really that it feels like a surprise that the API returns what it does...we add all this extra support for building a hierarchy, then the API that reads the hierarchy returns it as a flat list.  Maybe we need two param options to the call, e.g.:\n\n* GET /projects/{project_id}?subtree\n* GET /projects/{project_id}?subtree_as_list   (or something like that)\n\n...and the same for parents:\n\n* GET /projects/{project_id}?parents\n* GET /projects/{project_id}?parents_as_list\n\n...where the subtree/parents_as_list versions return what you have implemented, and the subtree/parents versions return the structured hierarchy?\n\nMy concern is that while the initial thought here was about quotas, given our discussions about assignment and role inheritance etc., there will be many ways people will need to view the hierarchy.","commit_id":"4bb828dcad2871b6ae312118aebc9da1f692d90c"},{"author":{"_account_id":5707,"name":"Henry Nash","email":"henryn@linux.vnet.ibm.com","username":"henry-nash"},"change_message_id":"943febfba90abd3b14c43d7afce7e90a392cc81c","unresolved":false,"context_lines":[{"line_number":3220,"context_line":"            },"},{"line_number":3221,"context_line":"            \"name\": \"Dev Group A\","},{"line_number":3222,"context_line":"            \"parent_id\": \"183ab2\","},{"line_number":3223,"context_line":"            \"subtree\": ["},{"line_number":3224,"context_line":"                {"},{"line_number":3225,"context_line":"                    \"project\": {"},{"line_number":3226,"context_line":"                        \"domain_id\": \"1789d1\","}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a890539_f0f875e7","line":3223,"updated":"2014-11-11 10:24:01.000000000","message":"so if I have multiple levels of subtree, do they appear as one long list, or do they appear as nested subtrees?","commit_id":"4bb828dcad2871b6ae312118aebc9da1f692d90c"},{"author":{"_account_id":11022,"name":"Rodrigo Duarte Sousa","email":"rodrigodsousa@gmail.com","username":"rodrigods"},"change_message_id":"465ae1cfc79926fef3346318ed506737c8895526","unresolved":false,"context_lines":[{"line_number":3220,"context_line":"            },"},{"line_number":3221,"context_line":"            \"name\": \"Dev Group A\","},{"line_number":3222,"context_line":"            \"parent_id\": \"183ab2\","},{"line_number":3223,"context_line":"            \"subtree\": ["},{"line_number":3224,"context_line":"                {"},{"line_number":3225,"context_line":"                    \"project\": {"},{"line_number":3226,"context_line":"                        \"domain_id\": \"1789d1\","}],"source_content_type":"text/x-rst","patch_set":7,"id":"5a890539_a95e84e7","line":3223,"in_reply_to":"5a890539_f0f875e7","updated":"2014-11-11 12:39:47.000000000","message":"see above...","commit_id":"4bb828dcad2871b6ae312118aebc9da1f692d90c"}]}
