)]}'
{"specs/approved/keystone-policy-support.rst":[{"author":{"_account_id":7080,"name":"Mathieu Mitchell","email":"mat128@gmail.com","username":"mat128"},"change_message_id":"b50df49b6984db707f5d5fc78626ebab1d719914","unresolved":false,"context_lines":[{"line_number":13,"context_line":"Keystone and oslo.policy have support for restricting access based on"},{"line_number":14,"context_line":"information about the user authenticating, allowing partial access to be"},{"line_number":15,"context_line":"granted as configured by operators. This spec lays out how this support will"},{"line_number":16,"context_line":"be implemented in ironic."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Problem description"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7aa08908_ebb3e6e7","line":16,"range":{"start_line":16,"start_character":18,"end_line":16,"end_character":24},"updated":"2016-06-20 15:30:43.000000000","message":"Ironic (multiple occurrences throughout the document)","commit_id":"ec55a97f593661fca909412e2611390f39659859"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"ce1afa8c82a9cc4e54adbe1dc5ecde5dd391dd5c","unresolved":false,"context_lines":[{"line_number":13,"context_line":"Keystone and oslo.policy have support for restricting access based on"},{"line_number":14,"context_line":"information about the user authenticating, allowing partial access to be"},{"line_number":15,"context_line":"granted as configured by operators. This spec lays out how this support will"},{"line_number":16,"context_line":"be implemented in ironic."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Problem description"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3aaa91ec_40b4d333","line":16,"range":{"start_line":16,"start_character":18,"end_line":16,"end_character":24},"in_reply_to":"7aa08908_ebb3e6e7","updated":"2016-06-24 20:35:41.000000000","message":"Actually, believe it or not, docs guidelines say that these should be lowercase:\n\nhttp://docs.openstack.org/contributor-guide/writing-style/openstack-components.html","commit_id":"ec55a97f593661fca909412e2611390f39659859"},{"author":{"_account_id":7080,"name":"Mathieu Mitchell","email":"mat128@gmail.com","username":"mat128"},"change_message_id":"b50df49b6984db707f5d5fc78626ebab1d719914","unresolved":false,"context_lines":[{"line_number":61,"context_line":"State Machine Impact"},{"line_number":62,"context_line":"--------------------"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"A properly restricted user may be restricted by policy from moving machines"},{"line_number":65,"context_line":"between states. However, there are no direct state machine modifications."},{"line_number":66,"context_line":""},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"REST API impact"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7aa08908_eb292639","line":65,"range":{"start_line":64,"start_character":60,"end_line":65,"end_character":14},"updated":"2016-06-20 15:30:43.000000000","message":"moving nodes within the state machine","commit_id":"ec55a97f593661fca909412e2611390f39659859"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"ce1afa8c82a9cc4e54adbe1dc5ecde5dd391dd5c","unresolved":false,"context_lines":[{"line_number":61,"context_line":"State Machine Impact"},{"line_number":62,"context_line":"--------------------"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"A properly restricted user may be restricted by policy from moving machines"},{"line_number":65,"context_line":"between states. However, there are no direct state machine modifications."},{"line_number":66,"context_line":""},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"REST API impact"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3aaa91ec_a0ec972a","line":65,"range":{"start_line":64,"start_character":60,"end_line":65,"end_character":14},"in_reply_to":"7aa08908_eb292639","updated":"2016-06-24 20:35:41.000000000","message":"Done","commit_id":"ec55a97f593661fca909412e2611390f39659859"},{"author":{"_account_id":7080,"name":"Mathieu Mitchell","email":"mat128@gmail.com","username":"mat128"},"change_message_id":"b50df49b6984db707f5d5fc78626ebab1d719914","unresolved":false,"context_lines":[{"line_number":68,"context_line":"REST API impact"},{"line_number":69,"context_line":"---------------"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"A properly restricted user may recieve a 403 error if they are unable to use"},{"line_number":72,"context_line":"the method/endpoint combination requested. However, the REST API will not be"},{"line_number":73,"context_line":"returning 403 in any cases it could not today, for instance, an unauthorized"},{"line_number":74,"context_line":"user may recieve 403 today. This simply increases the granularity available"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7aa08908_8b198225","line":71,"range":{"start_line":71,"start_character":31,"end_line":71,"end_character":38},"updated":"2016-06-20 15:30:43.000000000","message":"receive","commit_id":"ec55a97f593661fca909412e2611390f39659859"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"ce1afa8c82a9cc4e54adbe1dc5ecde5dd391dd5c","unresolved":false,"context_lines":[{"line_number":68,"context_line":"REST API impact"},{"line_number":69,"context_line":"---------------"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"A properly restricted user may recieve a 403 error if they are unable to use"},{"line_number":72,"context_line":"the method/endpoint combination requested. However, the REST API will not be"},{"line_number":73,"context_line":"returning 403 in any cases it could not today, for instance, an unauthorized"},{"line_number":74,"context_line":"user may recieve 403 today. This simply increases the granularity available"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3aaa91ec_80efdb1c","line":71,"range":{"start_line":71,"start_character":31,"end_line":71,"end_character":38},"in_reply_to":"7aa08908_8b198225","updated":"2016-06-24 20:35:41.000000000","message":"Done","commit_id":"ec55a97f593661fca909412e2611390f39659859"},{"author":{"_account_id":7080,"name":"Mathieu Mitchell","email":"mat128@gmail.com","username":"mat128"},"change_message_id":"b50df49b6984db707f5d5fc78626ebab1d719914","unresolved":false,"context_lines":[{"line_number":71,"context_line":"A properly restricted user may recieve a 403 error if they are unable to use"},{"line_number":72,"context_line":"the method/endpoint combination requested. However, the REST API will not be"},{"line_number":73,"context_line":"returning 403 in any cases it could not today, for instance, an unauthorized"},{"line_number":74,"context_line":"user may recieve 403 today. This simply increases the granularity available"},{"line_number":75,"context_line":"for configuring this authorization."},{"line_number":76,"context_line":""},{"line_number":77,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"7aa08908_cbb8aaeb","line":74,"range":{"start_line":74,"start_character":9,"end_line":74,"end_character":16},"updated":"2016-06-20 15:30:43.000000000","message":"receive","commit_id":"ec55a97f593661fca909412e2611390f39659859"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"ce1afa8c82a9cc4e54adbe1dc5ecde5dd391dd5c","unresolved":false,"context_lines":[{"line_number":71,"context_line":"A properly restricted user may recieve a 403 error if they are unable to use"},{"line_number":72,"context_line":"the method/endpoint combination requested. However, the REST API will not be"},{"line_number":73,"context_line":"returning 403 in any cases it could not today, for instance, an unauthorized"},{"line_number":74,"context_line":"user may recieve 403 today. This simply increases the granularity available"},{"line_number":75,"context_line":"for configuring this authorization."},{"line_number":76,"context_line":""},{"line_number":77,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3aaa91ec_e0f21f05","line":74,"range":{"start_line":74,"start_character":9,"end_line":74,"end_character":16},"in_reply_to":"7aa08908_cbb8aaeb","updated":"2016-06-24 20:35:41.000000000","message":"Done","commit_id":"ec55a97f593661fca909412e2611390f39659859"},{"author":{"_account_id":7080,"name":"Mathieu Mitchell","email":"mat128@gmail.com","username":"mat128"},"change_message_id":"b50df49b6984db707f5d5fc78626ebab1d719914","unresolved":false,"context_lines":[{"line_number":182,"context_line":""},{"line_number":183,"context_line":"Existing deployers are required to use an admin user for all uses of ironic,"},{"line_number":184,"context_line":"these users will continue to have full access to the ironic API, allowing for"},{"line_number":185,"context_line":"backwards compatability."},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"On upgrade, a user will be required to create a new project and new users to"},{"line_number":188,"context_line":"take advantage of the new policy support."}],"source_content_type":"text/x-rst","patch_set":1,"id":"5a9d85d2_86883ce9","line":185,"range":{"start_line":185,"start_character":10,"end_line":185,"end_character":23},"updated":"2016-06-20 15:30:43.000000000","message":"compatibility","commit_id":"ec55a97f593661fca909412e2611390f39659859"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"ce1afa8c82a9cc4e54adbe1dc5ecde5dd391dd5c","unresolved":false,"context_lines":[{"line_number":182,"context_line":""},{"line_number":183,"context_line":"Existing deployers are required to use an admin user for all uses of ironic,"},{"line_number":184,"context_line":"these users will continue to have full access to the ironic API, allowing for"},{"line_number":185,"context_line":"backwards compatability."},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"On upgrade, a user will be required to create a new project and new users to"},{"line_number":188,"context_line":"take advantage of the new policy support."}],"source_content_type":"text/x-rst","patch_set":1,"id":"3aaa91ec_20e1c72d","line":185,"range":{"start_line":185,"start_character":10,"end_line":185,"end_character":23},"in_reply_to":"5a9d85d2_86883ce9","updated":"2016-06-24 20:35:41.000000000","message":"Done","commit_id":"ec55a97f593661fca909412e2611390f39659859"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"295e198c9dd2b85ce15408cbe44ed84bfa720744","unresolved":false,"context_lines":[{"line_number":44,"context_line":"  * admin, baremetal_admin; with full access"},{"line_number":45,"context_line":"  * observer, baremetal_observer; with read-only access to non-secret"},{"line_number":46,"context_line":"    information"},{"line_number":47,"context_line":"  * baremetal_driver; designed for use by nova driver, with only access to"},{"line_number":48,"context_line":"    required endpoints for ironic integration with nova."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"3aaa91ec_89f26704","line":47,"updated":"2016-06-24 21:21:54.000000000","message":"I know there was some chatter in IRC about it potentially not being possible for nova to use a non-full admin user in Ironic; if so, we should remove these lines and document exactly why here.","commit_id":"04acae39f648e998a8c1456988c3650cd85b88bd"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"fa9292cbfd68bcfc70735d665942b23d2bd73380","unresolved":false,"context_lines":[{"line_number":39,"context_line":"* Implement specific restrictions for sensitive information, including"},{"line_number":40,"context_line":"  configdrives and passwords"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"* Define a simple, sane default policy in code[0]_, with shipped roles"},{"line_number":43,"context_line":"  including: admin/baremetal_admin with full access;"},{"line_number":44,"context_line":"  observer/baremetal_observer with read-only access to non-secret"},{"line_number":45,"context_line":"  information; and baremetal_driver designed for use by nova driver, with"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3aaa91ec_f25e2e78","line":42,"updated":"2016-06-27 17:12:04.000000000","message":"this [0]_ is not rendering properly","commit_id":"82752ead8000f3d4558e8a9168066fd096be65a2"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"fa9292cbfd68bcfc70735d665942b23d2bd73380","unresolved":false,"context_lines":[{"line_number":43,"context_line":"  including: admin/baremetal_admin with full access;"},{"line_number":44,"context_line":"  observer/baremetal_observer with read-only access to non-secret"},{"line_number":45,"context_line":"  information; and baremetal_driver designed for use by nova driver, with"},{"line_number":46,"context_line":"  only access to required endpoints for ironic integration with nova"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3aaa91ec_2d6dfbcc","line":46,"updated":"2016-06-27 17:12:04.000000000","message":"I would suggest removing actual account names here, and instead using descriptive words, or clarification that these are merely example names to describe the roles.\n\nI don\u0027t want a reader to get the idea that these specific names are somehow special or hard-coded anywhere.","commit_id":"82752ead8000f3d4558e8a9168066fd096be65a2"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"0c1c28f18e6f90089e370368888a8821cdbe54e1","unresolved":false,"context_lines":[{"line_number":43,"context_line":"  including: admin/baremetal_admin with full access;"},{"line_number":44,"context_line":"  observer/baremetal_observer with read-only access to non-secret"},{"line_number":45,"context_line":"  information; and baremetal_driver designed for use by nova driver, with"},{"line_number":46,"context_line":"  only access to required endpoints for ironic integration with nova"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3aaa91ec_b3fb0847","line":46,"in_reply_to":"3aaa91ec_0df75ff6","updated":"2016-06-28 20:37:21.000000000","message":"https://review.openstack.org/#/c/245629/8/specs/common-default-policy.rst is apparently not merged yet, and seems to be stalled. I do think we should use these names but I\u0027ll limit this to a note saying we should respect global \"admin\" and \"observer\" roles, and leave the ironic specific ones for implementation.","commit_id":"82752ead8000f3d4558e8a9168066fd096be65a2"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"c0fb278bf93378231255e0addd584af450fd037d","unresolved":false,"context_lines":[{"line_number":43,"context_line":"  including: admin/baremetal_admin with full access;"},{"line_number":44,"context_line":"  observer/baremetal_observer with read-only access to non-secret"},{"line_number":45,"context_line":"  information; and baremetal_driver designed for use by nova driver, with"},{"line_number":46,"context_line":"  only access to required endpoints for ironic integration with nova"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3aaa91ec_0df75ff6","line":46,"in_reply_to":"3aaa91ec_2d6dfbcc","updated":"2016-06-27 17:13:50.000000000","message":"admin/baremetal_admin and observer/baremetal_observer are in the cross-project spec for policy support (I\u0027ll link it in when I update), so I think those are fine. I\u0027ll make it clear the proposed nova user is just an example name.","commit_id":"82752ead8000f3d4558e8a9168066fd096be65a2"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"144c89651cf353151b86f59d32adfd89c53e9969","unresolved":false,"context_lines":[{"line_number":97,"context_line":"Driver API impact"},{"line_number":98,"context_line":"-----------------"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"Drivers can now apply policy to any driver_vendor_passthru methods as desired."},{"line_number":101,"context_line":""},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"Nova driver impact"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3aaa91ec_11cbaa54","line":100,"updated":"2016-06-28 22:24:34.000000000","message":"I\u0027m curious if this would allow us to limit operations with per-node granularity.\n\nFor example, if I had a node vendor passthru method to perform some action against a node, would I be able to allow a user to only perform this operation on half of the deployment?\n\nI doubt it\u0027s in the scope of the patch, but it may be something to consider whenever node tagging (https://bugs.launchpad.net/ironic/+bug/1526266) lands.","commit_id":"d1497df4c1d17c67ea9900f19bba4be630709d24"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"4b6adca0550850675436f10ec3dd949978cd1745","unresolved":false,"context_lines":[{"line_number":97,"context_line":"Driver API impact"},{"line_number":98,"context_line":"-----------------"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"Drivers can now apply policy to any driver_vendor_passthru methods as desired."},{"line_number":101,"context_line":""},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"Nova driver impact"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3aaa91ec_d183e2ca","line":100,"in_reply_to":"3aaa91ec_11cbaa54","updated":"2016-06-28 22:31:00.000000000","message":"explicitly out of scope today. It\u0027s an interesting thought for the future though. I\u0027d also like to consider being able to restrict what states you could change with higher granularity, but that\u0027s not in scope here either.","commit_id":"d1497df4c1d17c67ea9900f19bba4be630709d24"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"144c89651cf353151b86f59d32adfd89c53e9969","unresolved":false,"context_lines":[{"line_number":104,"context_line":"------------------"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"Existing deployments can continue to use a full-admin user as required prior"},{"line_number":107,"context_line":"to this feature. Once upgraded, a deployer could use a less-privledged user"},{"line_number":108,"context_line":"for nova-ironic interactions."},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"Security impact"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3aaa91ec_b1ae1696","line":107,"range":{"start_line":107,"start_character":60,"end_line":107,"end_character":70},"updated":"2016-06-28 22:24:34.000000000","message":"nit: s/privledged/privileged","commit_id":"d1497df4c1d17c67ea9900f19bba4be630709d24"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"4b6adca0550850675436f10ec3dd949978cd1745","unresolved":false,"context_lines":[{"line_number":104,"context_line":"------------------"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"Existing deployments can continue to use a full-admin user as required prior"},{"line_number":107,"context_line":"to this feature. Once upgraded, a deployer could use a less-privledged user"},{"line_number":108,"context_line":"for nova-ironic interactions."},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"Security impact"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3aaa91ec_71caee1b","line":107,"range":{"start_line":107,"start_character":60,"end_line":107,"end_character":70},"in_reply_to":"3aaa91ec_b1ae1696","updated":"2016-06-28 22:31:00.000000000","message":"Done","commit_id":"d1497df4c1d17c67ea9900f19bba4be630709d24"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"144c89651cf353151b86f59d32adfd89c53e9969","unresolved":false,"context_lines":[{"line_number":146,"context_line":"----------------"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"Whenever a developer implements a new API method, they will be required to"},{"line_number":149,"context_line":"properly check policy and update default policy as neccessary."},{"line_number":150,"context_line":""},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"Implementation"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3aaa91ec_11960a4c","line":149,"range":{"start_line":149,"start_character":51,"end_line":149,"end_character":61},"updated":"2016-06-28 22:24:34.000000000","message":"nit: s/neccessary/necessary","commit_id":"d1497df4c1d17c67ea9900f19bba4be630709d24"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"4b6adca0550850675436f10ec3dd949978cd1745","unresolved":false,"context_lines":[{"line_number":146,"context_line":"----------------"},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"Whenever a developer implements a new API method, they will be required to"},{"line_number":149,"context_line":"properly check policy and update default policy as neccessary."},{"line_number":150,"context_line":""},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"Implementation"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3aaa91ec_d1d122cf","line":149,"range":{"start_line":149,"start_character":51,"end_line":149,"end_character":61},"in_reply_to":"3aaa91ec_11960a4c","updated":"2016-06-28 22:31:00.000000000","message":"Done","commit_id":"d1497df4c1d17c67ea9900f19bba4be630709d24"},{"author":{"_account_id":18893,"name":"Miles Gould","email":"mgould@redhat.com","username":"pozorvlak"},"change_message_id":"92afb612d0ca16285f4e2d37171606f5d3de8258","unresolved":false,"context_lines":[{"line_number":20,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"Ironic has traditionally operated on an \"all-or-nothing\" access system, only"},{"line_number":23,"context_line":"restricting access to passwords. This model is significantly limited when"},{"line_number":24,"context_line":"multiple people and groups with different trust levels want to interact with"},{"line_number":25,"context_line":"ironic. For example, a hardware technician may need access to set or unset"},{"line_number":26,"context_line":"maintenance on the node, but should not have access to provision nodes."}],"source_content_type":"text/x-rst","patch_set":7,"id":"3aaa91ec_6231505a","line":23,"updated":"2016-06-29 17:31:28.000000000","message":"s/to/by","commit_id":"f2fa9c05cf8c884b034785e1975bb05a2dcc94db"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"593a983937e953f19252f0000deab129fe064b3a","unresolved":false,"context_lines":[{"line_number":20,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"Ironic has traditionally operated on an \"all-or-nothing\" access system, only"},{"line_number":23,"context_line":"restricting access to passwords. This model is significantly limited when"},{"line_number":24,"context_line":"multiple people and groups with different trust levels want to interact with"},{"line_number":25,"context_line":"ironic. For example, a hardware technician may need access to set or unset"},{"line_number":26,"context_line":"maintenance on the node, but should not have access to provision nodes."}],"source_content_type":"text/x-rst","patch_set":7,"id":"1aa78d24_f2c79942","line":23,"in_reply_to":"3aaa91ec_6231505a","updated":"2016-07-12 21:24:10.000000000","message":"to is correct here; we only restrict access using policy to password information in the api.","commit_id":"f2fa9c05cf8c884b034785e1975bb05a2dcc94db"},{"author":{"_account_id":18893,"name":"Miles Gould","email":"mgould@redhat.com","username":"pozorvlak"},"change_message_id":"92afb612d0ca16285f4e2d37171606f5d3de8258","unresolved":false,"context_lines":[{"line_number":37,"context_line":"  access it."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"* Implement specific restrictions for sensitive information, including"},{"line_number":40,"context_line":"  configdrives and passwords"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"* Define a simple, sane default policy in code [0]_ , with shipped roles"},{"line_number":43,"context_line":"  including an admin role with full access; an observer role with"}],"source_content_type":"text/x-rst","patch_set":7,"id":"3aaa91ec_224468b5","line":40,"updated":"2016-06-29 17:31:28.000000000","message":"s/$/.$","commit_id":"f2fa9c05cf8c884b034785e1975bb05a2dcc94db"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"593a983937e953f19252f0000deab129fe064b3a","unresolved":false,"context_lines":[{"line_number":37,"context_line":"  access it."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"* Implement specific restrictions for sensitive information, including"},{"line_number":40,"context_line":"  configdrives and passwords"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"* Define a simple, sane default policy in code [0]_ , with shipped roles"},{"line_number":43,"context_line":"  including an admin role with full access; an observer role with"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1aa78d24_92df350c","line":40,"in_reply_to":"3aaa91ec_224468b5","updated":"2016-07-12 21:24:10.000000000","message":"Done","commit_id":"f2fa9c05cf8c884b034785e1975bb05a2dcc94db"},{"author":{"_account_id":18893,"name":"Miles Gould","email":"mgould@redhat.com","username":"pozorvlak"},"change_message_id":"92afb612d0ca16285f4e2d37171606f5d3de8258","unresolved":false,"context_lines":[{"line_number":42,"context_line":"* Define a simple, sane default policy in code [0]_ , with shipped roles"},{"line_number":43,"context_line":"  including an admin role with full access; an observer role with"},{"line_number":44,"context_line":"  read-only access to non-secret information; and a role designed for use"},{"line_number":45,"context_line":"  by the nova driver, with only access to required endpoints for ironic"},{"line_number":46,"context_line":"  integration with nova. Names for these roles will be determined during"},{"line_number":47,"context_line":"  implementation and will be configurable by deployers via policy.json [1]_ ."},{"line_number":48,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"3aaa91ec_221bc8cb","line":45,"updated":"2016-06-29 17:31:28.000000000","message":"\"to endpoints required for\" flows a bit better, IMHO.","commit_id":"f2fa9c05cf8c884b034785e1975bb05a2dcc94db"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"593a983937e953f19252f0000deab129fe064b3a","unresolved":false,"context_lines":[{"line_number":42,"context_line":"* Define a simple, sane default policy in code [0]_ , with shipped roles"},{"line_number":43,"context_line":"  including an admin role with full access; an observer role with"},{"line_number":44,"context_line":"  read-only access to non-secret information; and a role designed for use"},{"line_number":45,"context_line":"  by the nova driver, with only access to required endpoints for ironic"},{"line_number":46,"context_line":"  integration with nova. Names for these roles will be determined during"},{"line_number":47,"context_line":"  implementation and will be configurable by deployers via policy.json [1]_ ."},{"line_number":48,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"1aa78d24_d2e53ddc","line":45,"in_reply_to":"3aaa91ec_221bc8cb","updated":"2016-07-12 21:24:10.000000000","message":"Done","commit_id":"f2fa9c05cf8c884b034785e1975bb05a2dcc94db"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"f92e6b69300bd7061087a6866a09db5b4b43abc1","unresolved":false,"context_lines":[{"line_number":43,"context_line":"  including an admin role with full access; an observer role with"},{"line_number":44,"context_line":"  read-only access to non-secret information; and a role designed for use"},{"line_number":45,"context_line":"  by the nova driver, with only access to required endpoints for ironic"},{"line_number":46,"context_line":"  integration with nova. Names for these roles will be determined during"},{"line_number":47,"context_line":"  implementation and will be configurable by deployers via policy.json [1]_ ."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"1aa78d24_5275cd2f","line":46,"updated":"2016-07-12 20:59:52.000000000","message":"++ for a nova role, I like that","commit_id":"f2fa9c05cf8c884b034785e1975bb05a2dcc94db"},{"author":{"_account_id":5805,"name":"Chris Krelle","email":"nobodycam@gmail.com","username":"nobodycam"},"change_message_id":"3864dfef5c9ceb9796c731c32b34b94614812013","unresolved":false,"context_lines":[{"line_number":66,"context_line":"State Machine Impact"},{"line_number":67,"context_line":"--------------------"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"A properly restricted user may be restricted by policy from moving nodes"},{"line_number":70,"context_line":"within the state machine. However, there are no direct state machine"},{"line_number":71,"context_line":"modifications."},{"line_number":72,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"1aa78d24_ff092232","line":69,"range":{"start_line":69,"start_character":0,"end_line":69,"end_character":26},"updated":"2016-07-12 20:55:40.000000000","message":"NIT: this seems a bit clunky maybe s/A properly restricted user/Users/","commit_id":"f2fa9c05cf8c884b034785e1975bb05a2dcc94db"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"593a983937e953f19252f0000deab129fe064b3a","unresolved":false,"context_lines":[{"line_number":66,"context_line":"State Machine Impact"},{"line_number":67,"context_line":"--------------------"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"A properly restricted user may be restricted by policy from moving nodes"},{"line_number":70,"context_line":"within the state machine. However, there are no direct state machine"},{"line_number":71,"context_line":"modifications."},{"line_number":72,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"1aa78d24_52daed17","line":69,"range":{"start_line":69,"start_character":0,"end_line":69,"end_character":26},"in_reply_to":"1aa78d24_ff092232","updated":"2016-07-12 21:24:10.000000000","message":"Done","commit_id":"f2fa9c05cf8c884b034785e1975bb05a2dcc94db"},{"author":{"_account_id":5805,"name":"Chris Krelle","email":"nobodycam@gmail.com","username":"nobodycam"},"change_message_id":"3864dfef5c9ceb9796c731c32b34b94614812013","unresolved":false,"context_lines":[{"line_number":76,"context_line":""},{"line_number":77,"context_line":"A properly restricted user may receive a 403 error if they are unable to use"},{"line_number":78,"context_line":"the method/endpoint combination requested. However, the REST API will not be"},{"line_number":79,"context_line":"returning 403 in any cases it could not today, for instance, an unauthorized"},{"line_number":80,"context_line":"user may receive 403 today. This simply increases the granularity available"},{"line_number":81,"context_line":"for configuring this authorization."},{"line_number":82,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"1aa78d24_b22191a0","line":79,"range":{"start_line":79,"start_character":21,"end_line":79,"end_character":26},"updated":"2016-07-12 20:55:40.000000000","message":"NIT: case","commit_id":"f2fa9c05cf8c884b034785e1975bb05a2dcc94db"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"593a983937e953f19252f0000deab129fe064b3a","unresolved":false,"context_lines":[{"line_number":76,"context_line":""},{"line_number":77,"context_line":"A properly restricted user may receive a 403 error if they are unable to use"},{"line_number":78,"context_line":"the method/endpoint combination requested. However, the REST API will not be"},{"line_number":79,"context_line":"returning 403 in any cases it could not today, for instance, an unauthorized"},{"line_number":80,"context_line":"user may receive 403 today. This simply increases the granularity available"},{"line_number":81,"context_line":"for configuring this authorization."},{"line_number":82,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"1aa78d24_7209e994","line":79,"range":{"start_line":79,"start_character":21,"end_line":79,"end_character":26},"in_reply_to":"1aa78d24_b22191a0","updated":"2016-07-12 21:24:10.000000000","message":"Done","commit_id":"f2fa9c05cf8c884b034785e1975bb05a2dcc94db"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"0c75bbf664f4514218c8cfb474742de19a6547f2","unresolved":false,"context_lines":[{"line_number":97,"context_line":"Driver API impact"},{"line_number":98,"context_line":"-----------------"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"Drivers can now apply policy to any driver_vendor_passthru methods as desired."},{"line_number":101,"context_line":""},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"Nova driver impact"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1aa78d24_47c4f63e","line":100,"updated":"2016-07-07 00:23:28.000000000","message":"nit for clarity: s/apply .. to/enforce .. within/","commit_id":"f2fa9c05cf8c884b034785e1975bb05a2dcc94db"},{"author":{"_account_id":18893,"name":"Miles Gould","email":"mgould@redhat.com","username":"pozorvlak"},"change_message_id":"92afb612d0ca16285f4e2d37171606f5d3de8258","unresolved":false,"context_lines":[{"line_number":132,"context_line":""},{"line_number":133,"context_line":"Policy support is a minimal increase in overhead. Additionally, most policies"},{"line_number":134,"context_line":"will be implemented early in the API layer, to prevent ironic from doing"},{"line_number":135,"context_line":"excessive work before a user is deemed unauthorized."},{"line_number":136,"context_line":""},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"Other deployer impact"}],"source_content_type":"text/x-rst","patch_set":7,"id":"3aaa91ec_c2b3e498","line":135,"updated":"2016-06-29 17:31:28.000000000","message":"In what situations will we be unable to do authorization up-front? Do we need to worry about potential timing attacks?","commit_id":"f2fa9c05cf8c884b034785e1975bb05a2dcc94db"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"0c75bbf664f4514218c8cfb474742de19a6547f2","unresolved":false,"context_lines":[{"line_number":132,"context_line":""},{"line_number":133,"context_line":"Policy support is a minimal increase in overhead. Additionally, most policies"},{"line_number":134,"context_line":"will be implemented early in the API layer, to prevent ironic from doing"},{"line_number":135,"context_line":"excessive work before a user is deemed unauthorized."},{"line_number":136,"context_line":""},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"Other deployer impact"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1aa78d24_27bf2aab","line":135,"updated":"2016-07-07 00:23:28.000000000","message":"to be clear, authentication is always handled up front, and the ensuing token contains the necessary information (tenant, role, etc) to enforce authorization at any layer of the python stack without calling out to another service (eg, keystone).\n\nThere\u0027s no timing attack exposure here that I\u0027m aware of.\n\nAn example of a situation where we might do authorization deeper in the stack is a driver_vendor_passthru method which, by definition, will get evaluated in the conductor rather than the API service.","commit_id":"f2fa9c05cf8c884b034785e1975bb05a2dcc94db"},{"author":{"_account_id":18893,"name":"Miles Gould","email":"mgould@redhat.com","username":"pozorvlak"},"change_message_id":"5272531fb06def463d5c1b1e5fc9e07a9823bc7c","unresolved":false,"context_lines":[{"line_number":132,"context_line":""},{"line_number":133,"context_line":"Policy support is a minimal increase in overhead. Additionally, most policies"},{"line_number":134,"context_line":"will be implemented early in the API layer, to prevent ironic from doing"},{"line_number":135,"context_line":"excessive work before a user is deemed unauthorized."},{"line_number":136,"context_line":""},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"Other deployer impact"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1aa78d24_1d2064f6","line":135,"in_reply_to":"1aa78d24_27bf2aab","updated":"2016-07-07 11:36:21.000000000","message":"Makes sense - thanks!","commit_id":"f2fa9c05cf8c884b034785e1975bb05a2dcc94db"}]}
