)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"64ac8afc7adbd92785fe6fddc1ff0b1a4adf63df","unresolved":false,"context_lines":[{"line_number":11,"context_line":"inside of Neutron without being an admin at the keystone level."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Closes-Bug: #1346778"},{"line_number":14,"context_line":"Change-Id: I119fa997e2d65c6d8a091ba8a80c9a35868a850d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"baada198_0fd232d1","line":14,"updated":"2014-08-06 08:36:48.000000000","message":"it seems to me we should document (DocImpact) that deployers can use an nonadmin user as neutron keystone user","commit_id":"8595b0591fe6cdd118d85122237a01f4d9d45ecb"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"8f05b9d6f5d3b93e53ff32e746e20d2bc24b359c","unresolved":false,"context_lines":[{"line_number":11,"context_line":"inside of Neutron without being an admin at the keystone level."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Closes-Bug: #1346778"},{"line_number":14,"context_line":"Change-Id: I119fa997e2d65c6d8a091ba8a80c9a35868a850d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"baada198_1b4b4987","line":14,"in_reply_to":"baada198_0fd232d1","updated":"2014-08-06 13:51:36.000000000","message":"+1, forgot about that","commit_id":"8595b0591fe6cdd118d85122237a01f4d9d45ecb"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"a4754fa43d67a59447ca06b46022592146ef82a9","unresolved":false,"context_lines":[{"line_number":11,"context_line":"inside of Neutron without being an admin at the keystone level."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Closes-Bug: #1346778"},{"line_number":14,"context_line":"Change-Id: I119fa997e2d65c6d8a091ba8a80c9a35868a850d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"baada198_6c40f8a2","line":14,"in_reply_to":"baada198_0fd232d1","updated":"2014-08-07 03:03:44.000000000","message":"Done","commit_id":"8595b0591fe6cdd118d85122237a01f4d9d45ecb"}],"etc/policy.json":[{"author":{"_account_id":4395,"name":"Aaron Rosen","email":"aaronorosen@gmail.com","username":"arosen"},"change_message_id":"81f22749e79713ee9d63bc170eb5ac6236e2ba8f","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{"},{"line_number":2,"context_line":"    \"context_is_admin\":  \"role:admin or user_name:%(keystone_admin_user)s\","},{"line_number":3,"context_line":"    \"admin_or_owner\": \"rule:context_is_admin or tenant_id:%(tenant_id)s\","},{"line_number":4,"context_line":"    \"admin_or_network_owner\": \"rule:context_is_admin or tenant_id:%(network:tenant_id)s\","},{"line_number":5,"context_line":"    \"admin_only\": \"rule:context_is_admin\","}],"source_content_type":"application/json","patch_set":3,"id":"baada198_8d4e40c1","line":2,"updated":"2014-07-23 04:35:13.000000000","message":"Is the user supposed to edit this file here? Do you also need to make a devstack change for this being done?","commit_id":"81621016e579c9e7c51d08e485b5d5c15462da25"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"ec1d3281b312a00f317964bcc53294ce715bff3c","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{"},{"line_number":2,"context_line":"    \"context_is_admin\":  \"role:admin or user_name:%(keystone_admin_user)s\","},{"line_number":3,"context_line":"    \"admin_or_owner\": \"rule:context_is_admin or tenant_id:%(tenant_id)s\","},{"line_number":4,"context_line":"    \"admin_or_network_owner\": \"rule:context_is_admin or tenant_id:%(network:tenant_id)s\","},{"line_number":5,"context_line":"    \"admin_only\": \"rule:context_is_admin\","}],"source_content_type":"application/json","patch_set":3,"id":"baada198_affe3b04","line":2,"in_reply_to":"baada198_4f16d14a","updated":"2014-07-25 00:50:07.000000000","message":"Yes, that\u0027s a good idea.","commit_id":"81621016e579c9e7c51d08e485b5d5c15462da25"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"9726e8be691ca2b103a02845fe1f43b625788448","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{"},{"line_number":2,"context_line":"    \"context_is_admin\":  \"role:admin or user_name:%(keystone_admin_user)s\","},{"line_number":3,"context_line":"    \"admin_or_owner\": \"rule:context_is_admin or tenant_id:%(tenant_id)s\","},{"line_number":4,"context_line":"    \"admin_or_network_owner\": \"rule:context_is_admin or tenant_id:%(network:tenant_id)s\","},{"line_number":5,"context_line":"    \"admin_only\": \"rule:context_is_admin\","}],"source_content_type":"application/json","patch_set":3,"id":"baada198_4f16d14a","line":2,"in_reply_to":"baada198_8d4e40c1","updated":"2014-07-23 07:55:37.000000000","message":"Another question: \"keystone_admin_user\" seems confusing since multiple users can have keystone admin role. \"neutron_service_user\" or similar name sounds good to me. Thought?","commit_id":"81621016e579c9e7c51d08e485b5d5c15462da25"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"ec1d3281b312a00f317964bcc53294ce715bff3c","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{"},{"line_number":2,"context_line":"    \"context_is_admin\":  \"role:admin or user_name:%(keystone_admin_user)s\","},{"line_number":3,"context_line":"    \"admin_or_owner\": \"rule:context_is_admin or tenant_id:%(tenant_id)s\","},{"line_number":4,"context_line":"    \"admin_or_network_owner\": \"rule:context_is_admin or tenant_id:%(network:tenant_id)s\","},{"line_number":5,"context_line":"    \"admin_only\": \"rule:context_is_admin\","}],"source_content_type":"application/json","patch_set":3,"id":"baada198_2f130b66","line":2,"in_reply_to":"baada198_8d4e40c1","updated":"2014-07-25 00:50:07.000000000","message":"No, the user won\u0027t have to change this. That\u0027s what they currently have to do now. This special keyword will match the config.","commit_id":"81621016e579c9e7c51d08e485b5d5c15462da25"}],"neutron/policy.py":[{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"b631862e3de64ea214ac1e76b68e7b3a5f831042","unresolved":false,"context_lines":[{"line_number":293,"context_line":"        # Provide a keyword that can be used in policy to represent the"},{"line_number":294,"context_line":"        # keystone user used by neutron."},{"line_number":295,"context_line":"        if (match \u003d\u003d \u0027%(neutron_service_user)s\u0027"},{"line_number":296,"context_line":"            and cfg.CONF.keystone_authtoken.admin_user):"},{"line_number":297,"context_line":"            match \u003d cfg.CONF.keystone_authtoken.admin_user"},{"line_number":298,"context_line":"        super(UsernameCheck, self).__init__(kind, match)"},{"line_number":299,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"baada198_1436f3b3","line":296,"updated":"2014-08-05 07:28:35.000000000","message":"nit: This line should be indented 4 spaces to differentiate it from the block that follows.\n\nReference: http://legacy.python.org/dev/peps/pep-0008/#indentation","commit_id":"c06c55c54980e8468bdb26f62b7f8199d725c1a5"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"0300cf88b2fb34e0331fed62a64a3906429b3d84","unresolved":false,"context_lines":[{"line_number":293,"context_line":"        # Provide a keyword that can be used in policy to represent the"},{"line_number":294,"context_line":"        # keystone user used by neutron."},{"line_number":295,"context_line":"        if (match \u003d\u003d \u0027%(neutron_service_user)s\u0027"},{"line_number":296,"context_line":"            and cfg.CONF.keystone_authtoken.admin_user):"},{"line_number":297,"context_line":"            match \u003d cfg.CONF.keystone_authtoken.admin_user"},{"line_number":298,"context_line":"        super(UsernameCheck, self).__init__(kind, match)"},{"line_number":299,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"baada198_f40a3cd0","line":296,"in_reply_to":"baada198_1436f3b3","updated":"2014-08-05 23:39:22.000000000","message":"This check makes me sad because the alternative is ugly... :-(","commit_id":"c06c55c54980e8468bdb26f62b7f8199d725c1a5"}],"neutron/tests/unit/test_policy.py":[{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"3c834ca9929d33de60327b3e8961719224745994","unresolved":false,"context_lines":[{"line_number":231,"context_line":"        # Add a Fake \u0027something\u0027 resource to RESOURCE_ATTRIBUTE_MAP"},{"line_number":232,"context_line":"        attributes.RESOURCE_ATTRIBUTE_MAP.update(FAKE_RESOURCE)"},{"line_number":233,"context_line":"        self.rules \u003d dict((k, common_policy.parse_rule(v)) for k, v in {"},{"line_number":234,"context_line":"            \"context_is_admin\": \"role:admin or \""},{"line_number":235,"context_line":"                                \"user_name:%(neutron_service_user)s\","},{"line_number":236,"context_line":"            \"admin_or_network_owner\": \"rule:context_is_admin or \""},{"line_number":237,"context_line":"                                      \"tenant_id:%(network:tenant_id)s\","}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_3b657c49","line":234,"updated":"2014-08-06 06:35:14.000000000","message":"wouldn\u0027t we want to keep a test without this tweak to ensure the change works for new Neutron servers that are deployed with the old policy.json file? I have witnessed deployment cookbooks where these files (policy.json, api-paste.ini, etc) are rolled out after the upgrade.\n\nI cannot see why this change would break bw compat but it\u0027d be nice to have the test.","commit_id":"8595b0591fe6cdd118d85122237a01f4d9d45ecb"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"a4754fa43d67a59447ca06b46022592146ef82a9","unresolved":false,"context_lines":[{"line_number":231,"context_line":"        # Add a Fake \u0027something\u0027 resource to RESOURCE_ATTRIBUTE_MAP"},{"line_number":232,"context_line":"        attributes.RESOURCE_ATTRIBUTE_MAP.update(FAKE_RESOURCE)"},{"line_number":233,"context_line":"        self.rules \u003d dict((k, common_policy.parse_rule(v)) for k, v in {"},{"line_number":234,"context_line":"            \"context_is_admin\": \"role:admin or \""},{"line_number":235,"context_line":"                                \"user_name:%(neutron_service_user)s\","},{"line_number":236,"context_line":"            \"admin_or_network_owner\": \"rule:context_is_admin or \""},{"line_number":237,"context_line":"                                      \"tenant_id:%(network:tenant_id)s\","}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_32273620","line":234,"in_reply_to":"baada198_3b657c49","updated":"2014-08-07 03:03:44.000000000","message":"Done","commit_id":"8595b0591fe6cdd118d85122237a01f4d9d45ecb"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"cd4ed52c9436ecd27b5dd9fedf06753891799b2e","unresolved":false,"context_lines":[{"line_number":561,"context_line":"                 expected_policies))"},{"line_number":562,"context_line":""},{"line_number":563,"context_line":""},{"line_number":564,"context_line":"class NeutronPolicyLegacyAdminTestCase(NeutronPolicyTestCase):"},{"line_number":565,"context_line":"    \"\"\"Test policy without username match.\"\"\""},{"line_number":566,"context_line":""},{"line_number":567,"context_line":"    def setUp(self):"}],"source_content_type":"text/x-python","patch_set":7,"id":"baada198_5f0f43e0","line":564,"updated":"2014-08-07 14:01:50.000000000","message":"this looks backwards, shouldn\u0027t we have done it the other way where we add a TestCase that verify the new behavior? With this we\u0027re running the same tests twice and the new test run more than it\u0027s needed.","commit_id":"8658aa38e99c5b3759c82c69e8f8ce2a5d40d623"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"41bb8f9a2f8c13c3441125fdde1a8e17952754e0","unresolved":false,"context_lines":[{"line_number":561,"context_line":"                 expected_policies))"},{"line_number":562,"context_line":""},{"line_number":563,"context_line":""},{"line_number":564,"context_line":"class NeutronPolicyLegacyAdminTestCase(NeutronPolicyTestCase):"},{"line_number":565,"context_line":"    \"\"\"Test policy without username match.\"\"\""},{"line_number":566,"context_line":""},{"line_number":567,"context_line":"    def setUp(self):"}],"source_content_type":"text/x-python","patch_set":7,"id":"baada198_6b260969","line":564,"in_reply_to":"baada198_5f0f43e0","updated":"2014-08-07 15:45:51.000000000","message":"I thought you were hinting to run the same tests with the different policies...","commit_id":"8658aa38e99c5b3759c82c69e8f8ce2a5d40d623"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"a562c5a193b8d7c9f9a92324462a8f3a6d446a4e","unresolved":false,"context_lines":[{"line_number":561,"context_line":"                 expected_policies))"},{"line_number":562,"context_line":""},{"line_number":563,"context_line":""},{"line_number":564,"context_line":"class NeutronPolicyLegacyAdminTestCase(NeutronPolicyTestCase):"},{"line_number":565,"context_line":"    \"\"\"Test policy without username match.\"\"\""},{"line_number":566,"context_line":""},{"line_number":567,"context_line":"    def setUp(self):"}],"source_content_type":"text/x-python","patch_set":7,"id":"baada198_0b474d7b","line":564,"in_reply_to":"baada198_6b260969","updated":"2014-08-07 16:02:26.000000000","message":"Sorry if I gave you misleading input, I\u0027ll try to be more clear next time.","commit_id":"8658aa38e99c5b3759c82c69e8f8ce2a5d40d623"}]}
