)]}'
{"oslo_policy/opts.py":[{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"bc8b770630765c4eef8afdf1d747edd98e2f6f29","unresolved":false,"context_lines":[{"line_number":37,"context_line":"    cfg.BoolOpt(\u0027enforce_new_defaults\u0027,"},{"line_number":38,"context_line":"                default\u003dFalse,"},{"line_number":39,"context_line":"                help\u003d_(\u0027This option controls whether or not to use old \u0027"},{"line_number":40,"context_line":"                       \u0027deprecated defaults when evaluating policies. If \u0027"},{"line_number":41,"context_line":"                       \u0027``True``, the old deprecated defaults are not going \u0027"},{"line_number":42,"context_line":"                       \u0027to be evaluated which mean if any existing token \u0027"},{"line_number":43,"context_line":"                       \u0027allowed for old defaults but disallowed for new \u0027"},{"line_number":44,"context_line":"                       \u0027defaults will be disallowed. It is encouraged to \u0027"},{"line_number":45,"context_line":"                       \u0027enable this flag along with ``enforce_scope`` flag \u0027"},{"line_number":46,"context_line":"                       \u0027so that you can get benefits of new defaults and \u0027"},{"line_number":47,"context_line":"                       \u0027``scope_type`` together\u0027)),"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_40d128fb","line":44,"range":{"start_line":40,"start_character":70,"end_line":44,"end_character":53},"updated":"2020-04-09 00:31:37.000000000","message":"This reads confusingly to me. Suggestion:\n\n\"If ``True``, the old deprecated defaults are not going to be evaluated. This means if any existing token is allowed for old defaults but is disallowed for new defaults, it will be disallowed.\"","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"bc8b770630765c4eef8afdf1d747edd98e2f6f29","unresolved":false,"context_lines":[{"line_number":42,"context_line":"                       \u0027to be evaluated which mean if any existing token \u0027"},{"line_number":43,"context_line":"                       \u0027allowed for old defaults but disallowed for new \u0027"},{"line_number":44,"context_line":"                       \u0027defaults will be disallowed. It is encouraged to \u0027"},{"line_number":45,"context_line":"                       \u0027enable this flag along with ``enforce_scope`` flag \u0027"},{"line_number":46,"context_line":"                       \u0027so that you can get benefits of new defaults and \u0027"},{"line_number":47,"context_line":"                       \u0027``scope_type`` together\u0027)),"},{"line_number":48,"context_line":"    cfg.StrOpt(\u0027policy_file\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_60d42cea","line":45,"range":{"start_line":45,"start_character":47,"end_line":45,"end_character":51},"updated":"2020-04-09 00:31:37.000000000","message":"with the","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"bc8b770630765c4eef8afdf1d747edd98e2f6f29","unresolved":false,"context_lines":[{"line_number":43,"context_line":"                       \u0027allowed for old defaults but disallowed for new \u0027"},{"line_number":44,"context_line":"                       \u0027defaults will be disallowed. It is encouraged to \u0027"},{"line_number":45,"context_line":"                       \u0027enable this flag along with ``enforce_scope`` flag \u0027"},{"line_number":46,"context_line":"                       \u0027so that you can get benefits of new defaults and \u0027"},{"line_number":47,"context_line":"                       \u0027``scope_type`` together\u0027)),"},{"line_number":48,"context_line":"    cfg.StrOpt(\u0027policy_file\u0027,"},{"line_number":49,"context_line":"               default\u003d\u0027policy.json\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_c006d886","line":46,"range":{"start_line":46,"start_character":44,"end_line":46,"end_character":52},"updated":"2020-04-09 00:31:37.000000000","message":"the benefits","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"}],"oslo_policy/policy.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"507d23dc9256e4d4ee4a7089e2ce458a54340ba6","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_5ef4b2cf","line":677,"updated":"2020-04-07 04:40:54.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"98096e98e0ea28fe67e213c15e6e3a75ca2ddbef"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"507d23dc9256e4d4ee4a7089e2ce458a54340ba6","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_de31e2a4","line":677,"updated":"2020-04-07 04:40:54.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"98096e98e0ea28fe67e213c15e6e3a75ca2ddbef"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"507d23dc9256e4d4ee4a7089e2ce458a54340ba6","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_3e272e67","line":677,"updated":"2020-04-07 04:40:54.000000000","message":"lower-constraints:  UserWarning: Policy \"old_rule\":\"role:bang\" was deprecated in N in favor of \"new_rule\":\"role:bang\". Reason: \"old_rule\" is a bad name. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"98096e98e0ea28fe67e213c15e6e3a75ca2ddbef"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"507d23dc9256e4d4ee4a7089e2ce458a54340ba6","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_5e1dd20d","line":677,"updated":"2020-04-07 04:40:54.000000000","message":"py36:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"98096e98e0ea28fe67e213c15e6e3a75ca2ddbef"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"507d23dc9256e4d4ee4a7089e2ce458a54340ba6","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_1e2cea45","line":677,"updated":"2020-04-07 04:40:54.000000000","message":"py36:  UserWarning: Policy \"old_rule\":\"role:bang\" was deprecated in N in favor of \"new_rule\":\"role:bang\". Reason: \"old_rule\" is a bad name. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"98096e98e0ea28fe67e213c15e6e3a75ca2ddbef"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"507d23dc9256e4d4ee4a7089e2ce458a54340ba6","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_7ee5360a","line":677,"updated":"2020-04-07 04:40:54.000000000","message":"py37:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"98096e98e0ea28fe67e213c15e6e3a75ca2ddbef"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"507d23dc9256e4d4ee4a7089e2ce458a54340ba6","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_beefbee7","line":677,"updated":"2020-04-07 04:40:54.000000000","message":"py37:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"98096e98e0ea28fe67e213c15e6e3a75ca2ddbef"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"507d23dc9256e4d4ee4a7089e2ce458a54340ba6","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_ded60228","line":677,"updated":"2020-04-07 04:40:54.000000000","message":"py37:  UserWarning: Policy \"old_rule\":\"role:bang\" was deprecated in N in favor of \"new_rule\":\"role:bang\". Reason: \"old_rule\" is a bad name. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"98096e98e0ea28fe67e213c15e6e3a75ca2ddbef"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"507d23dc9256e4d4ee4a7089e2ce458a54340ba6","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_3eb56eef","line":677,"updated":"2020-04-07 04:40:54.000000000","message":"py38:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"98096e98e0ea28fe67e213c15e6e3a75ca2ddbef"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"507d23dc9256e4d4ee4a7089e2ce458a54340ba6","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_7eced683","line":677,"updated":"2020-04-07 04:40:54.000000000","message":"py38:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"98096e98e0ea28fe67e213c15e6e3a75ca2ddbef"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"507d23dc9256e4d4ee4a7089e2ce458a54340ba6","unresolved":false,"context_lines":[{"line_number":674,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":677,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":678,"context_line":""},{"line_number":679,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":680,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_febae6de","line":677,"updated":"2020-04-07 04:40:54.000000000","message":"py38:  UserWarning: Policy \"old_rule\":\"role:bang\" was deprecated in N in favor of \"new_rule\":\"role:bang\". Reason: \"old_rule\" is a bad name. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"98096e98e0ea28fe67e213c15e6e3a75ca2ddbef"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"507d23dc9256e4d4ee4a7089e2ce458a54340ba6","unresolved":false,"context_lines":[{"line_number":714,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":715,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":716,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":717,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":718,"context_line":""},{"line_number":719,"context_line":"    def _undefined_check(self, check):"},{"line_number":720,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_be017eb2","line":717,"updated":"2020-04-07 04:40:54.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"98096e98e0ea28fe67e213c15e6e3a75ca2ddbef"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"507d23dc9256e4d4ee4a7089e2ce458a54340ba6","unresolved":false,"context_lines":[{"line_number":714,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":715,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":716,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":717,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":718,"context_line":""},{"line_number":719,"context_line":"    def _undefined_check(self, check):"},{"line_number":720,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_9efe3aac","line":717,"updated":"2020-04-07 04:40:54.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:create_bar\":\"\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"98096e98e0ea28fe67e213c15e6e3a75ca2ddbef"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"507d23dc9256e4d4ee4a7089e2ce458a54340ba6","unresolved":false,"context_lines":[{"line_number":714,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":715,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":716,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":717,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":718,"context_line":""},{"line_number":719,"context_line":"    def _undefined_check(self, check):"},{"line_number":720,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_fe2ca64b","line":717,"updated":"2020-04-07 04:40:54.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"98096e98e0ea28fe67e213c15e6e3a75ca2ddbef"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"507d23dc9256e4d4ee4a7089e2ce458a54340ba6","unresolved":false,"context_lines":[{"line_number":714,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":715,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":716,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":717,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":718,"context_line":""},{"line_number":719,"context_line":"    def _undefined_check(self, check):"},{"line_number":720,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_7ef7f6d5","line":717,"updated":"2020-04-07 04:40:54.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"98096e98e0ea28fe67e213c15e6e3a75ca2ddbef"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"507d23dc9256e4d4ee4a7089e2ce458a54340ba6","unresolved":false,"context_lines":[{"line_number":714,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":715,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":716,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":717,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":718,"context_line":""},{"line_number":719,"context_line":"    def _undefined_check(self, check):"},{"line_number":720,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_be1a1e14","line":717,"updated":"2020-04-07 04:40:54.000000000","message":"py36:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"98096e98e0ea28fe67e213c15e6e3a75ca2ddbef"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"507d23dc9256e4d4ee4a7089e2ce458a54340ba6","unresolved":false,"context_lines":[{"line_number":714,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":715,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":716,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":717,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":718,"context_line":""},{"line_number":719,"context_line":"    def _undefined_check(self, check):"},{"line_number":720,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_fed14631","line":717,"updated":"2020-04-07 04:40:54.000000000","message":"py36:  UserWarning: Policy \"foo:create_bar\":\"\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"98096e98e0ea28fe67e213c15e6e3a75ca2ddbef"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"507d23dc9256e4d4ee4a7089e2ce458a54340ba6","unresolved":false,"context_lines":[{"line_number":714,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":715,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":716,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":717,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":718,"context_line":""},{"line_number":719,"context_line":"    def _undefined_check(self, check):"},{"line_number":720,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_9e175aee","line":717,"updated":"2020-04-07 04:40:54.000000000","message":"py36:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"98096e98e0ea28fe67e213c15e6e3a75ca2ddbef"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"507d23dc9256e4d4ee4a7089e2ce458a54340ba6","unresolved":false,"context_lines":[{"line_number":714,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":715,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":716,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":717,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":718,"context_line":""},{"line_number":719,"context_line":"    def _undefined_check(self, check):"},{"line_number":720,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_7e20964a","line":717,"updated":"2020-04-07 04:40:54.000000000","message":"py36:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"98096e98e0ea28fe67e213c15e6e3a75ca2ddbef"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"507d23dc9256e4d4ee4a7089e2ce458a54340ba6","unresolved":false,"context_lines":[{"line_number":714,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":715,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":716,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":717,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":718,"context_line":""},{"line_number":719,"context_line":"    def _undefined_check(self, check):"},{"line_number":720,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_9eec7af4","line":717,"updated":"2020-04-07 04:40:54.000000000","message":"py37:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"98096e98e0ea28fe67e213c15e6e3a75ca2ddbef"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"507d23dc9256e4d4ee4a7089e2ce458a54340ba6","unresolved":false,"context_lines":[{"line_number":714,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":715,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":716,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":717,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":718,"context_line":""},{"line_number":719,"context_line":"    def _undefined_check(self, check):"},{"line_number":720,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_5ee2f202","line":717,"updated":"2020-04-07 04:40:54.000000000","message":"py37:  UserWarning: Policy \"foo:create_bar\":\"\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"98096e98e0ea28fe67e213c15e6e3a75ca2ddbef"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"507d23dc9256e4d4ee4a7089e2ce458a54340ba6","unresolved":false,"context_lines":[{"line_number":714,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":715,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":716,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":717,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":718,"context_line":""},{"line_number":719,"context_line":"    def _undefined_check(self, check):"},{"line_number":720,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_1ee18aff","line":717,"updated":"2020-04-07 04:40:54.000000000","message":"py37:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"98096e98e0ea28fe67e213c15e6e3a75ca2ddbef"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"507d23dc9256e4d4ee4a7089e2ce458a54340ba6","unresolved":false,"context_lines":[{"line_number":714,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":715,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":716,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":717,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":718,"context_line":""},{"line_number":719,"context_line":"    def _undefined_check(self, check):"},{"line_number":720,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_3edc4e45","line":717,"updated":"2020-04-07 04:40:54.000000000","message":"py37:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"98096e98e0ea28fe67e213c15e6e3a75ca2ddbef"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"507d23dc9256e4d4ee4a7089e2ce458a54340ba6","unresolved":false,"context_lines":[{"line_number":714,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":715,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":716,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":717,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":718,"context_line":""},{"line_number":719,"context_line":"    def _undefined_check(self, check):"},{"line_number":720,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_5ecb1271","line":717,"updated":"2020-04-07 04:40:54.000000000","message":"py38:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"98096e98e0ea28fe67e213c15e6e3a75ca2ddbef"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"507d23dc9256e4d4ee4a7089e2ce458a54340ba6","unresolved":false,"context_lines":[{"line_number":714,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":715,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":716,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":717,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":718,"context_line":""},{"line_number":719,"context_line":"    def _undefined_check(self, check):"},{"line_number":720,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_1eba2add","line":717,"updated":"2020-04-07 04:40:54.000000000","message":"py38:  UserWarning: Policy \"foo:create_bar\":\"\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"98096e98e0ea28fe67e213c15e6e3a75ca2ddbef"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"507d23dc9256e4d4ee4a7089e2ce458a54340ba6","unresolved":false,"context_lines":[{"line_number":714,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":715,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":716,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":717,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":718,"context_line":""},{"line_number":719,"context_line":"    def _undefined_check(self, check):"},{"line_number":720,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_bec85e74","line":717,"updated":"2020-04-07 04:40:54.000000000","message":"py38:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"98096e98e0ea28fe67e213c15e6e3a75ca2ddbef"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"507d23dc9256e4d4ee4a7089e2ce458a54340ba6","unresolved":false,"context_lines":[{"line_number":714,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":715,"context_line":"            if not (self.suppress_deprecation_warnings"},{"line_number":716,"context_line":"                    or self.suppress_default_change_warnings):"},{"line_number":717,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":718,"context_line":""},{"line_number":719,"context_line":"    def _undefined_check(self, check):"},{"line_number":720,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"df33271e_debf22ce","line":717,"updated":"2020-04-07 04:40:54.000000000","message":"py38:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"98096e98e0ea28fe67e213c15e6e3a75ca2ddbef"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c825daed586eb72dab3eff8e25ad923848b661be","unresolved":false,"context_lines":[{"line_number":667,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":668,"context_line":""},{"line_number":669,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":670,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":671,"context_line":""},{"line_number":672,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":673,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_7bfff166","line":670,"updated":"2020-04-07 19:03:40.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c825daed586eb72dab3eff8e25ad923848b661be","unresolved":false,"context_lines":[{"line_number":667,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":668,"context_line":""},{"line_number":669,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":670,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":671,"context_line":""},{"line_number":672,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":673,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_dbd43dec","line":670,"updated":"2020-04-07 19:03:40.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c825daed586eb72dab3eff8e25ad923848b661be","unresolved":false,"context_lines":[{"line_number":667,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":668,"context_line":""},{"line_number":669,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":670,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":671,"context_line":""},{"line_number":672,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":673,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_fbd94122","line":670,"updated":"2020-04-07 19:03:40.000000000","message":"lower-constraints:  UserWarning: Policy \"old_rule\":\"role:bang\" was deprecated in N in favor of \"new_rule\":\"role:bang\". Reason: \"old_rule\" is a bad name. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c825daed586eb72dab3eff8e25ad923848b661be","unresolved":false,"context_lines":[{"line_number":667,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":668,"context_line":""},{"line_number":669,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":670,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":671,"context_line":""},{"line_number":672,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":673,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_3b2a89e6","line":670,"updated":"2020-04-07 19:03:40.000000000","message":"py36:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c825daed586eb72dab3eff8e25ad923848b661be","unresolved":false,"context_lines":[{"line_number":667,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":668,"context_line":""},{"line_number":669,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":670,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":671,"context_line":""},{"line_number":672,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":673,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_9bf3d59f","line":670,"updated":"2020-04-07 19:03:40.000000000","message":"py36:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c825daed586eb72dab3eff8e25ad923848b661be","unresolved":false,"context_lines":[{"line_number":667,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":668,"context_line":""},{"line_number":669,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":670,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":671,"context_line":""},{"line_number":672,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":673,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_fbf2e199","line":670,"updated":"2020-04-07 19:03:40.000000000","message":"py36:  UserWarning: Policy \"old_rule\":\"role:bang\" was deprecated in N in favor of \"new_rule\":\"role:bang\". Reason: \"old_rule\" is a bad name. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c825daed586eb72dab3eff8e25ad923848b661be","unresolved":false,"context_lines":[{"line_number":667,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":668,"context_line":""},{"line_number":669,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":670,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":671,"context_line":""},{"line_number":672,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":673,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_1b16a5a8","line":670,"updated":"2020-04-07 19:03:40.000000000","message":"py37:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c825daed586eb72dab3eff8e25ad923848b661be","unresolved":false,"context_lines":[{"line_number":667,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":668,"context_line":""},{"line_number":669,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":670,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":671,"context_line":""},{"line_number":672,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":673,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_fb4781bb","line":670,"updated":"2020-04-07 19:03:40.000000000","message":"py37:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c825daed586eb72dab3eff8e25ad923848b661be","unresolved":false,"context_lines":[{"line_number":667,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":668,"context_line":""},{"line_number":669,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":670,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":671,"context_line":""},{"line_number":672,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":673,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_9b38f53b","line":670,"updated":"2020-04-07 19:03:40.000000000","message":"py37:  UserWarning: Policy \"old_rule\":\"role:bang\" was deprecated in N in favor of \"new_rule\":\"role:bang\". Reason: \"old_rule\" is a bad name. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c825daed586eb72dab3eff8e25ad923848b661be","unresolved":false,"context_lines":[{"line_number":667,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":668,"context_line":""},{"line_number":669,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":670,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":671,"context_line":""},{"line_number":672,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":673,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_9b211500","line":670,"updated":"2020-04-07 19:03:40.000000000","message":"py38:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c825daed586eb72dab3eff8e25ad923848b661be","unresolved":false,"context_lines":[{"line_number":667,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":668,"context_line":""},{"line_number":669,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":670,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":671,"context_line":""},{"line_number":672,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":673,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_bb269915","line":670,"updated":"2020-04-07 19:03:40.000000000","message":"py38:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c825daed586eb72dab3eff8e25ad923848b661be","unresolved":false,"context_lines":[{"line_number":667,"context_line":"                deprecated_rule.name in self.file_rules):"},{"line_number":668,"context_line":""},{"line_number":669,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":670,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":671,"context_line":""},{"line_number":672,"context_line":"            # If the deprecated policy is being overridden and doesn\u0027t match"},{"line_number":673,"context_line":"            # the default deprecated policy, override the new policy\u0027s default"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_5b102da9","line":670,"updated":"2020-04-07 19:03:40.000000000","message":"py38:  UserWarning: Policy \"old_rule\":\"role:bang\" was deprecated in N in favor of \"new_rule\":\"role:bang\". Reason: \"old_rule\" is a bad name. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"bc8b770630765c4eef8afdf1d747edd98e2f6f29","unresolved":false,"context_lines":[{"line_number":697,"context_line":"        # the policy manually or add infrastructure to their deployment to"},{"line_number":698,"context_line":"        # support the new policy."},{"line_number":699,"context_line":"        # If flag enforce_new_defaults is true then do not add OrCheck"},{"line_number":700,"context_line":"        # the old check_str and enforce only new defaults."},{"line_number":701,"context_line":"        if (not self.conf.oslo_policy.enforce_new_defaults"},{"line_number":702,"context_line":"                and deprecated_rule.check_str !\u003d default.check_str"},{"line_number":703,"context_line":"                and default.name not in self.file_rules):"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_e0015c6c","line":700,"updated":"2020-04-09 00:31:37.000000000","message":"This doesn\u0027t quite make sense to me, do you mean this?\n\nIf the enforce_new_defaults flag is True, do not add OrCheck to the old check_str and enforce only the new defaults.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c825daed586eb72dab3eff8e25ad923848b661be","unresolved":false,"context_lines":[{"line_number":706,"context_line":"                                     [default.check_str,"},{"line_number":707,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":708,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":709,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":710,"context_line":""},{"line_number":711,"context_line":"    def _undefined_check(self, check):"},{"line_number":712,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_5b02ed70","line":709,"updated":"2020-04-07 19:03:40.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c825daed586eb72dab3eff8e25ad923848b661be","unresolved":false,"context_lines":[{"line_number":706,"context_line":"                                     [default.check_str,"},{"line_number":707,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":708,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":709,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":710,"context_line":""},{"line_number":711,"context_line":"    def _undefined_check(self, check):"},{"line_number":712,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_9bcab543","line":709,"updated":"2020-04-07 19:03:40.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:create_bar\":\"\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c825daed586eb72dab3eff8e25ad923848b661be","unresolved":false,"context_lines":[{"line_number":706,"context_line":"                                     [default.check_str,"},{"line_number":707,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":708,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":709,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":710,"context_line":""},{"line_number":711,"context_line":"    def _undefined_check(self, check):"},{"line_number":712,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_3b05697b","line":709,"updated":"2020-04-07 19:03:40.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c825daed586eb72dab3eff8e25ad923848b661be","unresolved":false,"context_lines":[{"line_number":706,"context_line":"                                     [default.check_str,"},{"line_number":707,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":708,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":709,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":710,"context_line":""},{"line_number":711,"context_line":"    def _undefined_check(self, check):"},{"line_number":712,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_1b08658f","line":709,"updated":"2020-04-07 19:03:40.000000000","message":"lower-constraints:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c825daed586eb72dab3eff8e25ad923848b661be","unresolved":false,"context_lines":[{"line_number":706,"context_line":"                                     [default.check_str,"},{"line_number":707,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":708,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":709,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":710,"context_line":""},{"line_number":711,"context_line":"    def _undefined_check(self, check):"},{"line_number":712,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_1b2d05fd","line":709,"updated":"2020-04-07 19:03:40.000000000","message":"py36:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c825daed586eb72dab3eff8e25ad923848b661be","unresolved":false,"context_lines":[{"line_number":706,"context_line":"                                     [default.check_str,"},{"line_number":707,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":708,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":709,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":710,"context_line":""},{"line_number":711,"context_line":"    def _undefined_check(self, check):"},{"line_number":712,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_7b34114b","line":709,"updated":"2020-04-07 19:03:40.000000000","message":"py36:  UserWarning: Policy \"foo:create_bar\":\"\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c825daed586eb72dab3eff8e25ad923848b661be","unresolved":false,"context_lines":[{"line_number":706,"context_line":"                                     [default.check_str,"},{"line_number":707,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":708,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":709,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":710,"context_line":""},{"line_number":711,"context_line":"    def _undefined_check(self, check):"},{"line_number":712,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_bbf8597c","line":709,"updated":"2020-04-07 19:03:40.000000000","message":"py36:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c825daed586eb72dab3eff8e25ad923848b661be","unresolved":false,"context_lines":[{"line_number":706,"context_line":"                                     [default.check_str,"},{"line_number":707,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":708,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":709,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":710,"context_line":""},{"line_number":711,"context_line":"    def _undefined_check(self, check):"},{"line_number":712,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_dbed5db8","line":709,"updated":"2020-04-07 19:03:40.000000000","message":"py36:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c825daed586eb72dab3eff8e25ad923848b661be","unresolved":false,"context_lines":[{"line_number":706,"context_line":"                                     [default.check_str,"},{"line_number":707,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":708,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":709,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":710,"context_line":""},{"line_number":711,"context_line":"    def _undefined_check(self, check):"},{"line_number":712,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_db427dab","line":709,"updated":"2020-04-07 19:03:40.000000000","message":"py37:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c825daed586eb72dab3eff8e25ad923848b661be","unresolved":false,"context_lines":[{"line_number":706,"context_line":"                                     [default.check_str,"},{"line_number":707,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":708,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":709,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":710,"context_line":""},{"line_number":711,"context_line":"    def _undefined_check(self, check):"},{"line_number":712,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_5b378d4e","line":709,"updated":"2020-04-07 19:03:40.000000000","message":"py37:  UserWarning: Policy \"foo:create_bar\":\"\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c825daed586eb72dab3eff8e25ad923848b661be","unresolved":false,"context_lines":[{"line_number":706,"context_line":"                                     [default.check_str,"},{"line_number":707,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":708,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":709,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":710,"context_line":""},{"line_number":711,"context_line":"    def _undefined_check(self, check):"},{"line_number":712,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_bb3df92d","line":709,"updated":"2020-04-07 19:03:40.000000000","message":"py37:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c825daed586eb72dab3eff8e25ad923848b661be","unresolved":false,"context_lines":[{"line_number":706,"context_line":"                                     [default.check_str,"},{"line_number":707,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":708,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":709,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":710,"context_line":""},{"line_number":711,"context_line":"    def _undefined_check(self, check):"},{"line_number":712,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_3b13a9ba","line":709,"updated":"2020-04-07 19:03:40.000000000","message":"py37:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c825daed586eb72dab3eff8e25ad923848b661be","unresolved":false,"context_lines":[{"line_number":706,"context_line":"                                     [default.check_str,"},{"line_number":707,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":708,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":709,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":710,"context_line":""},{"line_number":711,"context_line":"    def _undefined_check(self, check):"},{"line_number":712,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_fb2021fa","line":709,"updated":"2020-04-07 19:03:40.000000000","message":"py38:  UserWarning: Policy \"foo:bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c825daed586eb72dab3eff8e25ad923848b661be","unresolved":false,"context_lines":[{"line_number":706,"context_line":"                                     [default.check_str,"},{"line_number":707,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":708,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":709,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":710,"context_line":""},{"line_number":711,"context_line":"    def _undefined_check(self, check):"},{"line_number":712,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_3b78c9f6","line":709,"updated":"2020-04-07 19:03:40.000000000","message":"py38:  UserWarning: Policy \"foo:create_bar\":\"\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c825daed586eb72dab3eff8e25ad923848b661be","unresolved":false,"context_lines":[{"line_number":706,"context_line":"                                     [default.check_str,"},{"line_number":707,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":708,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":709,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":710,"context_line":""},{"line_number":711,"context_line":"    def _undefined_check(self, check):"},{"line_number":712,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_7b0d318f","line":709,"updated":"2020-04-07 19:03:40.000000000","message":"py38:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"\". Reason: because of reasons. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"c825daed586eb72dab3eff8e25ad923848b661be","unresolved":false,"context_lines":[{"line_number":706,"context_line":"                                     [default.check_str,"},{"line_number":707,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":708,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":709,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":710,"context_line":""},{"line_number":711,"context_line":"    def _undefined_check(self, check):"},{"line_number":712,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_db1b9dc7","line":709,"updated":"2020-04-07 19:03:40.000000000","message":"py38:  UserWarning: Policy \"foo:create_bar\":\"role:fizz\" was deprecated in N in favor of \"foo:create_bar\":\"role:bang\". Reason: \"role:bang\" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually.","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"de0927b85fae0452718f658bf41beff294aeb477","unresolved":false,"context_lines":[{"line_number":706,"context_line":"                                     [default.check_str,"},{"line_number":707,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":708,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":709,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":710,"context_line":""},{"line_number":711,"context_line":"    def _undefined_check(self, check):"},{"line_number":712,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_e5c16056","line":709,"in_reply_to":"df33271e_2053446d","updated":"2020-04-09 13:37:33.000000000","message":"I don\u0027t think this change is responsible for suppressing the warnings. I believe Ghanshyam put that into a separate review.\n\nAs I understand it, this change is only to allow operators a way to opt into new defaults without having to write policies back into files.\n\nhttps://review.opendev.org/#/c/717879/ is the review to deal with warning suppression.\n\nI think if we set suppress_default_change_warnings \u003d True, Zuul won\u0027t comment (haven\u0027t tested this, yet).","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"094c3ff7b303ff803e35f45eb2e4f1450913c3c2","unresolved":false,"context_lines":[{"line_number":706,"context_line":"                                     [default.check_str,"},{"line_number":707,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":708,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":709,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":710,"context_line":""},{"line_number":711,"context_line":"    def _undefined_check(self, check):"},{"line_number":712,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_08073984","line":709,"in_reply_to":"df33271e_e5c16056","updated":"2020-04-09 14:18:29.000000000","message":"yeah, Stephen already fixed these  - https://review.opendev.org/#/c/718138/1","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"c2377c3ef5742ea3efe638c7a9b21c09361dc4fa","unresolved":false,"context_lines":[{"line_number":706,"context_line":"                                     [default.check_str,"},{"line_number":707,"context_line":"                                      deprecated_rule.check_str]])"},{"line_number":708,"context_line":"            if not self.suppress_deprecation_warnings:"},{"line_number":709,"context_line":"                warnings.warn(deprecated_msg)"},{"line_number":710,"context_line":""},{"line_number":711,"context_line":"    def _undefined_check(self, check):"},{"line_number":712,"context_line":"        \u0027\u0027\u0027Check if a RuleCheck references an undefined rule.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"df33271e_2053446d","line":709,"in_reply_to":"df33271e_fb2021fa","updated":"2020-04-09 00:34:18.000000000","message":"What\u0027s all this by the way? Scary to see on a change that\u0027s intended to *not* emit warning spam","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"}],"releasenotes/notes/enforce_new_defaults-6ae17d8b8d166a2c.yaml":[{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"bc8b770630765c4eef8afdf1d747edd98e2f6f29","unresolved":false,"context_lines":[{"line_number":3,"context_line":"    A new configuration option ``enforce_new_defaults`` has been"},{"line_number":4,"context_line":"    added to the ``[oslo_policy]`` group to control whether or not to"},{"line_number":5,"context_line":"    use the old deprecated defaults. If ``True``, the old deprecated"},{"line_number":6,"context_line":"    defaults are not going to be evaluated which mean if any existing"},{"line_number":7,"context_line":"    token allowed for old defaults but disallowed for new defaults"},{"line_number":8,"context_line":"    will be disallowed. It is encouraged to enable this flag along"},{"line_number":9,"context_line":"    with ``enforce_scope`` flag so that you can get benefits of new"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"df33271e_60ed4cb6","line":6,"range":{"start_line":6,"start_character":49,"end_line":6,"end_character":53},"updated":"2020-04-09 00:31:37.000000000","message":"means","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"bc8b770630765c4eef8afdf1d747edd98e2f6f29","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    added to the ``[oslo_policy]`` group to control whether or not to"},{"line_number":5,"context_line":"    use the old deprecated defaults. If ``True``, the old deprecated"},{"line_number":6,"context_line":"    defaults are not going to be evaluated which mean if any existing"},{"line_number":7,"context_line":"    token allowed for old defaults but disallowed for new defaults"},{"line_number":8,"context_line":"    will be disallowed. It is encouraged to enable this flag along"},{"line_number":9,"context_line":"    with ``enforce_scope`` flag so that you can get benefits of new"},{"line_number":10,"context_line":"    defaults and ``scope_type`` together. This way operators can switch"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"df33271e_403f6824","line":7,"range":{"start_line":7,"start_character":58,"end_line":7,"end_character":66},"updated":"2020-04-09 00:31:37.000000000","message":"defaults,","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"bc8b770630765c4eef8afdf1d747edd98e2f6f29","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    added to the ``[oslo_policy]`` group to control whether or not to"},{"line_number":5,"context_line":"    use the old deprecated defaults. If ``True``, the old deprecated"},{"line_number":6,"context_line":"    defaults are not going to be evaluated which mean if any existing"},{"line_number":7,"context_line":"    token allowed for old defaults but disallowed for new defaults"},{"line_number":8,"context_line":"    will be disallowed. It is encouraged to enable this flag along"},{"line_number":9,"context_line":"    with ``enforce_scope`` flag so that you can get benefits of new"},{"line_number":10,"context_line":"    defaults and ``scope_type`` together. This way operators can switch"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"df33271e_c02b78e8","line":7,"range":{"start_line":7,"start_character":10,"end_line":7,"end_character":17},"updated":"2020-04-09 00:31:37.000000000","message":"is allowed","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"bc8b770630765c4eef8afdf1d747edd98e2f6f29","unresolved":false,"context_lines":[{"line_number":5,"context_line":"    use the old deprecated defaults. If ``True``, the old deprecated"},{"line_number":6,"context_line":"    defaults are not going to be evaluated which mean if any existing"},{"line_number":7,"context_line":"    token allowed for old defaults but disallowed for new defaults"},{"line_number":8,"context_line":"    will be disallowed. It is encouraged to enable this flag along"},{"line_number":9,"context_line":"    with ``enforce_scope`` flag so that you can get benefits of new"},{"line_number":10,"context_line":"    defaults and ``scope_type`` together. This way operators can switch"},{"line_number":11,"context_line":"    to new defaults without overwriting the rule in policy file."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"df33271e_e0367c51","line":8,"range":{"start_line":8,"start_character":4,"end_line":8,"end_character":8},"updated":"2020-04-09 00:31:37.000000000","message":"it will","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"bc8b770630765c4eef8afdf1d747edd98e2f6f29","unresolved":false,"context_lines":[{"line_number":6,"context_line":"    defaults are not going to be evaluated which mean if any existing"},{"line_number":7,"context_line":"    token allowed for old defaults but disallowed for new defaults"},{"line_number":8,"context_line":"    will be disallowed. It is encouraged to enable this flag along"},{"line_number":9,"context_line":"    with ``enforce_scope`` flag so that you can get benefits of new"},{"line_number":10,"context_line":"    defaults and ``scope_type`` together. This way operators can switch"},{"line_number":11,"context_line":"    to new defaults without overwriting the rule in policy file."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"df33271e_402808e1","line":9,"range":{"start_line":9,"start_character":52,"end_line":9,"end_character":60},"updated":"2020-04-09 00:31:37.000000000","message":"the benefits","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"bc8b770630765c4eef8afdf1d747edd98e2f6f29","unresolved":false,"context_lines":[{"line_number":6,"context_line":"    defaults are not going to be evaluated which mean if any existing"},{"line_number":7,"context_line":"    token allowed for old defaults but disallowed for new defaults"},{"line_number":8,"context_line":"    will be disallowed. It is encouraged to enable this flag along"},{"line_number":9,"context_line":"    with ``enforce_scope`` flag so that you can get benefits of new"},{"line_number":10,"context_line":"    defaults and ``scope_type`` together. This way operators can switch"},{"line_number":11,"context_line":"    to new defaults without overwriting the rule in policy file."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"df33271e_a01914d8","line":9,"range":{"start_line":9,"start_character":4,"end_line":9,"end_character":8},"updated":"2020-04-09 00:31:37.000000000","message":"with the","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"bc8b770630765c4eef8afdf1d747edd98e2f6f29","unresolved":false,"context_lines":[{"line_number":8,"context_line":"    will be disallowed. It is encouraged to enable this flag along"},{"line_number":9,"context_line":"    with ``enforce_scope`` flag so that you can get benefits of new"},{"line_number":10,"context_line":"    defaults and ``scope_type`` together. This way operators can switch"},{"line_number":11,"context_line":"    to new defaults without overwriting the rule in policy file."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"df33271e_801e90b8","line":11,"range":{"start_line":11,"start_character":44,"end_line":11,"end_character":48},"updated":"2020-04-09 00:31:37.000000000","message":"rules","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"},{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"bc8b770630765c4eef8afdf1d747edd98e2f6f29","unresolved":false,"context_lines":[{"line_number":8,"context_line":"    will be disallowed. It is encouraged to enable this flag along"},{"line_number":9,"context_line":"    with ``enforce_scope`` flag so that you can get benefits of new"},{"line_number":10,"context_line":"    defaults and ``scope_type`` together. This way operators can switch"},{"line_number":11,"context_line":"    to new defaults without overwriting the rule in policy file."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"df33271e_601b8cc9","line":11,"range":{"start_line":11,"start_character":52,"end_line":11,"end_character":58},"updated":"2020-04-09 00:31:37.000000000","message":"the policy","commit_id":"99012db14bd0e6f87aa2b79c272c7f5951972d41"}]}
