)]}'
{"nova/context.py":[{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"d96f2348b67a01b030c23be1930b5e4f407ce6d9","unresolved":false,"context_lines":[{"line_number":236,"context_line":"            If None, then this default target will be considered:"},{"line_number":237,"context_line":"            {\u0027project_id\u0027: self.project_id, \u0027user_id\u0027: self.user_id}"},{"line_number":238,"context_line":"        :param fatal: if False, will return False when an"},{"line_number":239,"context_line":"         nova.exception.PolicyNotAuthorized."},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"        :raises nova.exception.PolicyNotAuthorized: if verification fails"},{"line_number":242,"context_line":"            and fatal is True."}],"source_content_type":"text/x-python","patch_set":1,"id":"df87a7cf_04f7215b","line":239,"updated":"2017-12-20 06:47:00.000000000","message":"s/./ occurs./","commit_id":"b81aa3a37aea9297e4b936e7bf06e83aeb34f952"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"66fe4a97e8a461f3467a8417f026bbc56eec4222","unresolved":false,"context_lines":[{"line_number":250,"context_line":""},{"line_number":251,"context_line":"        try:"},{"line_number":252,"context_line":"            return policy.authorize(self, action, target)"},{"line_number":253,"context_line":"        except exception.Forbidden:"},{"line_number":254,"context_line":"            if fatal:"},{"line_number":255,"context_line":"                raise"},{"line_number":256,"context_line":"            return False"}],"source_content_type":"text/x-python","patch_set":2,"id":"9f91af0f_a8a59ab7","side":"PARENT","line":253,"range":{"start_line":253,"start_character":15,"end_line":253,"end_character":35},"updated":"2017-12-28 14:03:52.000000000","message":"We were previously raising this, which I\u0027m guessing is being handled higher up the stack. Do we want to raise the same thing still? It seems like it would be possible [1]\n\n[1] https://github.com/openstack/oslo.policy/blob/1.32.0/oslo_policy/policy.py#L791-L795","commit_id":"07c925a5321e379293bbf0e55bf3c40798eaf21b"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"66fe4a97e8a461f3467a8417f026bbc56eec4222","unresolved":false,"context_lines":[{"line_number":248,"context_line":"            target \u003d {\u0027project_id\u0027: self.project_id,"},{"line_number":249,"context_line":"                      \u0027user_id\u0027: self.user_id}"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"        return policy.authorize(self, action, target, do_raise\u003dfatal)"},{"line_number":252,"context_line":""},{"line_number":253,"context_line":"    def to_policy_values(self):"},{"line_number":254,"context_line":"        policy \u003d super(RequestContext, self).to_policy_values()"}],"source_content_type":"text/x-python","patch_set":2,"id":"9f91af0f_08cfe67f","line":251,"range":{"start_line":251,"start_character":54,"end_line":251,"end_character":68},"updated":"2017-12-28 14:03:52.000000000","message":"Yup, per [1], [2]\n\n[1] https://github.com/openstack/oslo.policy/blob/1.32.0/oslo_policy/policy.py#L789-L790\n[2] https://github.com/openstack/oslo.policy/blob/1.32.0/oslo_policy/policy.py#L878-L882","commit_id":"670677fc78a6075cecb70efb4a694af851817f5c"}]}
