)]}'
{"ironic/api/controllers/v1/port.py":[{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"835a1004c84cfa766b326c6b59202cf50df2c77f","unresolved":false,"context_lines":[{"line_number":158,"context_line":""},{"line_number":159,"context_line":"        # NOTE(deva): Hide internal fields from unprivileged users"},{"line_number":160,"context_line":"        ctx \u003d pecan.request.context.to_dict()"},{"line_number":161,"context_line":"        if not policy.check(\u0027show_driver_details\u0027, ctx, ctx):"},{"line_number":162,"context_line":"            port.internal_info \u003d dict()"},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"        return cls._convert_with_links(port, pecan.request.public_url,"}],"source_content_type":"text/x-python","patch_set":8,"id":"fa7ab95a_ef0a141f","line":161,"updated":"2016-08-30 21:18:06.000000000","message":"policy.check takes \"target\" and \"creds\" parameters: https://github.com/openstack/ironic/blob/master/ironic/common/policy.py#L255\n\nIs ctx sufficient for both of those (i.e. will the deserializaton of the request context happen automatically)?","commit_id":"ec480d320546735ec8be216d40b4f64e29124a9f"}]}
