)]}'
{"patrole_tempest_plugin/rbac_exceptions.py":[{"author":{"_account_id":17896,"name":"Rick Bartra","email":"rickbartra@microsoft.com","username":"rb560u"},"change_message_id":"31d73dd3bc61718bc11b92c822be161476b77014","unresolved":false,"context_lines":[{"line_number":33,"context_line":""},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"class RbacParsingException (exceptions.TempestException):"},{"line_number":36,"context_line":"    message \u003d \"Attempted to test an invalid policy file or rule\""}],"source_content_type":"text/x-python","patch_set":4,"id":"3a1ff146_5b5f0741","line":36,"range":{"start_line":36,"start_character":59,"end_line":36,"end_character":63},"updated":"2017-03-15 20:29:38.000000000","message":"This should be changed to \"action\"\n\nfrom: https://docs.openstack.org/kilo/config-reference/content/policy-json-file.html\n\nA policy.json file is a text file in JSON (Javascript Object Notation) format. Each policy is defined by a one-line statement in the form \"\u003ctarget\u003e\" : \"\u003crule\u003e\".\n\nThe policy target, also named \"action\", represents an API call like \"start an instance\" or \"attach a volume\".","commit_id":"31fa243844049258b69e8de8ec7469e0baaec429"},{"author":{"_account_id":23186,"name":"Felipe Monteiro","email":"felipe.carneiro.monteiro@gmail.com","username":"felipe.monteiro"},"change_message_id":"178f7b34f5cd0c85b5029484a4df6e57a2db9876","unresolved":false,"context_lines":[{"line_number":33,"context_line":""},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"class RbacParsingException (exceptions.TempestException):"},{"line_number":36,"context_line":"    message \u003d \"Attempted to test an invalid policy file or rule\""}],"source_content_type":"text/x-python","patch_set":4,"id":"3a1ff146_4c458c15","line":36,"range":{"start_line":36,"start_character":59,"end_line":36,"end_character":63},"in_reply_to":"3a1ff146_5b5f0741","updated":"2017-03-15 23:15:06.000000000","message":"Done","commit_id":"31fa243844049258b69e8de8ec7469e0baaec429"}],"patrole_tempest_plugin/rbac_policy_parser.py":[{"author":{"_account_id":23186,"name":"Felipe Monteiro","email":"felipe.carneiro.monteiro@gmail.com","username":"felipe.monteiro"},"change_message_id":"0d34010c08547c1fa2d4213b5812ff04180d8a5f","unresolved":false,"context_lines":[{"line_number":176,"context_line":"                apply_rule, self.path)"},{"line_number":177,"context_line":"            LOG.debug(message)"},{"line_number":178,"context_line":"            raise rbac_exceptions.RbacInvalidPolicy(message)"},{"line_number":179,"context_line":"        except Exception as e:"},{"line_number":180,"context_line":"            LOG.debug(\"Unknown exception: {0} for policy rule: {1}.\".format("},{"line_number":181,"context_line":"                e, apply_rule))"},{"line_number":182,"context_line":"            return False"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a1ff146_25117aad","line":182,"range":{"start_line":179,"start_character":0,"end_line":182,"end_character":24},"updated":"2017-03-14 23:17:18.000000000","message":"Uncertain whether this should throw an exception that results in failure or skip. Oslo policy checker has similar logic in _try_rule here: https://github.com/openstack/oslo.policy/blob/master/oslo_policy/shell.py","commit_id":"8f74360dea7babd375fd065b2a6c48bfa735e202"},{"author":{"_account_id":23186,"name":"Felipe Monteiro","email":"felipe.carneiro.monteiro@gmail.com","username":"felipe.monteiro"},"change_message_id":"809dc7bab4dd09f2ed14dc254232917d71d99e24","unresolved":false,"context_lines":[{"line_number":176,"context_line":"                apply_rule, self.path)"},{"line_number":177,"context_line":"            LOG.debug(message)"},{"line_number":178,"context_line":"            raise rbac_exceptions.RbacInvalidPolicy(message)"},{"line_number":179,"context_line":"        except Exception as e:"},{"line_number":180,"context_line":"            LOG.debug(\"Unknown exception: {0} for policy rule: {1}.\".format("},{"line_number":181,"context_line":"                e, apply_rule))"},{"line_number":182,"context_line":"            return False"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a1ff146_85930efa","line":182,"range":{"start_line":179,"start_character":0,"end_line":182,"end_character":24},"updated":"2017-03-14 23:22:35.000000000","message":"Uncertain whether this should throw an exception that results in failure or skip. Oslo policy checker has similar logic in _try_rule here: https://github.com/openstack/oslo.policy/blob/master/oslo_policy/shell.py","commit_id":"0a360c6d7de3d152355506081c2f0be733bae3f1"}]}
