)]}'
{"gnocchi/rest/__init__.py":[{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"143ee94390802f9ef8112ccc56afae773322ecc1","unresolved":false,"context_lines":[{"line_number":507,"context_line":"        try:"},{"line_number":508,"context_line":"            enforce(\"list all metric\", {})"},{"line_number":509,"context_line":"        except webob.exc.HTTPForbidden:"},{"line_number":510,"context_line":"            enforce(\"list resource\", {})"},{"line_number":511,"context_line":"            user_id, project_id \u003d get_user_and_project()"},{"line_number":512,"context_line":"            provided_user_id \u003d kwargs.get(\u0027user_id\u0027)"},{"line_number":513,"context_line":"            provided_project_id \u003d kwargs.get(\u0027project_id\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a961159_8f95d533","line":510,"updated":"2015-01-06 18:07:00.000000000","message":"Unrelated to the current patch, but this line caught my eye, the rule should be \"list metric\" or?\n\nIn any case, rather than holding up the current patch I\u0027ve proposed a quick fix:\n\n  https://review.openstack.org/145286","commit_id":"300e43f2c0e103353abda6794cf52dbaa351d197"},{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"143ee94390802f9ef8112ccc56afae773322ecc1","unresolved":false,"context_lines":[{"line_number":514,"context_line":"            if ((provided_user_id and user_id !\u003d provided_user_id)"},{"line_number":515,"context_line":"               or (provided_project_id and project_id !\u003d provided_project_id)):"},{"line_number":516,"context_line":"                pecan.abort("},{"line_number":517,"context_line":"                    400, \"Insufficient privileges to filter by user/project\")"},{"line_number":518,"context_line":"        else:"},{"line_number":519,"context_line":"            user_id \u003d kwargs.get(\u0027user_id\u0027)"},{"line_number":520,"context_line":"            project_id \u003d kwargs.get(\u0027project_id\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a961159_0fee45b5","line":517,"updated":"2015-01-06 18:07:00.000000000","message":"Is 400 Bad Request or 403 Forbidden more appropriate here?","commit_id":"300e43f2c0e103353abda6794cf52dbaa351d197"}]}
