)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6825,"name":"Gary W. Smith","email":"garysmith123@gmail.com","username":"gary-w-smith"},"change_message_id":"817a2c47caad6176af4773d54337a3320a00b69a","unresolved":false,"context_lines":[{"line_number":5,"context_line":"CommitDate: 2017-05-17 22:25:36 -0700"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Fix User logged out when switch a project with non-admin role."},{"line_number":8,"context_line":"This fixes the problem now and there are still some problems in"},{"line_number":9,"context_line":"using angular partly. An angular solution is in need"},{"line_number":10,"context_line":"when the route system completely uses angular."},{"line_number":11,"context_line":"Closes-Bug: #1678204"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"ff0f0b1f_b236f4e5","line":8,"updated":"2017-05-19 23:58:23.000000000","message":"See https://wiki.openstack.org/wiki/GitCommitMessages\n\nThe second line should be a blank line.\nPlease be explicit about what the remaining problems are: \"still some problems\" is vague.","commit_id":"a540d155046b305ccc4c01959f84bc693f9fc703"},{"author":{"_account_id":6825,"name":"Gary W. Smith","email":"garysmith123@gmail.com","username":"gary-w-smith"},"change_message_id":"817a2c47caad6176af4773d54337a3320a00b69a","unresolved":false,"context_lines":[{"line_number":8,"context_line":"This fixes the problem now and there are still some problems in"},{"line_number":9,"context_line":"using angular partly. An angular solution is in need"},{"line_number":10,"context_line":"when the route system completely uses angular."},{"line_number":11,"context_line":"Closes-Bug: #1678204"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I76f493cda4bd0503a19eaaf183ed09ed228d417c"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"ff0f0b1f_9246504f","line":11,"updated":"2017-05-19 23:58:23.000000000","message":"Since this is only a partial solution to the bug, this should be \"Partial-Bug\" instead of \"Closes-Bug\"","commit_id":"a540d155046b305ccc4c01959f84bc693f9fc703"}],"openstack_dashboard/templatetags/context_selection.py":[{"author":{"_account_id":6825,"name":"Gary W. Smith","email":"garysmith123@gmail.com","username":"gary-w-smith"},"change_message_id":"817a2c47caad6176af4773d54337a3320a00b69a","unresolved":false,"context_lines":[{"line_number":92,"context_line":"        admin_role \u003d [role for role in keystone.role_list(request)"},{"line_number":93,"context_line":"                           if role.name \u003d\u003d \"admin\"][0]"},{"line_number":94,"context_line":"        for project in projects:"},{"line_number":95,"context_line":"            users_roles \u003d keystone.get_project_users_roles(request, project.id)"},{"line_number":96,"context_line":"            user_roles \u003d users_roles.get(request.user.id, [])"},{"line_number":97,"context_line":"            is_admin \u003d admin_role.id in user_roles"},{"line_number":98,"context_line":"            project.page_url \u003d current_url if is_admin else \u0027/project/\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff0f0b1f_9269b08c","line":95,"updated":"2017-05-19 23:58:23.000000000","message":"This is inefficient.  Rather than using \n\n   keystone.get_project_users_roles\n\nto request all roles for all users on the project and then discarding all but the user of interest, you should use \n\n   keystone.roles_for_user \n\nto request just the roles for the intended user.","commit_id":"a540d155046b305ccc4c01959f84bc693f9fc703"}]}
