)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"68b6a5fd67eb3c984f90386bb00bd0fd9196920c","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"591a6c13_7fe3dcac","updated":"2021-11-26 01:59:15.000000000","message":"using it in https://review.opendev.org/c/openstack/nova/+/819390","commit_id":"7ca1dc0a1f20554e355e367926de129cd7ce5f13"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"d74a24fe04227b2a76d4889879f4986b95e8647d","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"7caa5e20_25c5dd5d","updated":"2021-11-30 20:50:22.000000000","message":"it does not work as it add two level deprecated rules and oslo policy does not add two level of deprecated rules in logical OR. let\u0027s do it later once legacy rules are gone and for now do the required things in https://review.opendev.org/c/openstack/nova/+/816206/10/nova/policies/base.py","commit_id":"34b7b2f382e662c813846204e40f21ec16656346"}],"nova/policies/base.py":[{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"2d08de3a1b9c61ad5ef4169cab87aa6bd4ff684b","unresolved":true,"context_lines":[{"line_number":128,"context_line":"        \"admin\","},{"line_number":129,"context_line":"        \"role:admin\","},{"line_number":130,"context_line":"        \"Admin rule for most Admin APIs.\","},{"line_number":131,"context_line":"        deprecated_rule\u003dDEPRECATED_CONTEXT_IS_ADMIN),"},{"line_number":132,"context_line":"    policy.RuleDefault("},{"line_number":133,"context_line":"        name\u003d\"system_admin_api\","},{"line_number":134,"context_line":"        check_str\u003d\u0027role:admin and system_scope:all\u0027,"}],"source_content_type":"text/x-python","patch_set":3,"id":"5ea759af_89944122","line":131,"range":{"start_line":131,"start_character":24,"end_line":131,"end_character":53},"updated":"2021-11-30 19:07:49.000000000","message":"I think we can do DEPRECATED_ADMIN_POLICY so that it add old rule as logical ORed in oslo policy and leave \u0027context_is_admin\u0027 rule as it is but marked for removal.","commit_id":"7ca1dc0a1f20554e355e367926de129cd7ce5f13"}]}
