)]}'
{"mistral/policies/__init__.py":[{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"c165c9d18aede1bd7d466ba0b501d0da2566e3b0","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"def list_rules():"},{"line_number":24,"context_line":"    return itertools.chain("},{"line_number":25,"context_line":"        base.list_rules()"},{"line_number":26,"context_line":"    )"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f515b1d_5a871711","line":26,"range":{"start_line":24,"start_character":4,"end_line":26,"end_character":5},"updated":"2017-10-04 04:04:51.000000000","message":"Soft: could be just one line.","commit_id":"4fc527fc7fc06485e0d0510d7473b7f662a95e73"},{"author":{"_account_id":19930,"name":"Dai Dang Van","email":"daidv@omzcloud.vn","username":"daidv"},"change_message_id":"e42b0d72dcaa4e8f51991ca044457d6a01da7d95","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"def list_rules():"},{"line_number":24,"context_line":"    return itertools.chain("},{"line_number":25,"context_line":"        base.list_rules()"},{"line_number":26,"context_line":"    )"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f515b1d_3aca1b4f","line":26,"range":{"start_line":24,"start_character":4,"end_line":26,"end_character":5},"in_reply_to":"7f515b1d_5a871711","updated":"2017-10-04 04:09:59.000000000","message":"This prepare for a list of policies in code in next commit.","commit_id":"4fc527fc7fc06485e0d0510d7473b7f662a95e73"}],"mistral/tests/unit/fake_policy.py":[{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"733b8015de00a13e453d9ccddb4ddf134843ef7c","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# under the License."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"policy_data \u003d \"\"\"{"},{"line_number":16,"context_line":"    \"admin_only\": \"is_admin:True\","},{"line_number":17,"context_line":"    \"admin_or_owner\": \"is_admin:True or project_id:%(project_id)s\","},{"line_number":18,"context_line":"    \"default\": \"rule:admin_or_owner\","},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"    \"action_executions:delete\": \"rule:admin_or_owner\","}],"source_content_type":"text/x-python","patch_set":8,"id":"3f4b6375_e04a7425","side":"PARENT","line":17,"range":{"start_line":16,"start_character":4,"end_line":17,"end_character":67},"updated":"2017-10-19 16:32:47.000000000","message":"It\u0027s nice to see this get removed.","commit_id":"f6b6f1d20b84853dc900004425b8f98a296ce7f1"}],"mistral/tests/unit/mstrlfixtures/policy_fixtures.py":[{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"733b8015de00a13e453d9ccddb4ddf134843ef7c","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"        self.addCleanup(acl._ENFORCER.clear)"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"    def set_rules(self, rules, overwrite\u003dFalse):"},{"line_number":57,"context_line":"        policy \u003d acl._ENFORCER"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"        policy.set_rules(oslo_policy.Rules.from_dict(rules), overwrite)"}],"source_content_type":"text/x-python","patch_set":8,"id":"3f4b6375_a0547ccb","line":56,"range":{"start_line":56,"start_character":31,"end_line":56,"end_character":40},"updated":"2017-10-19 16:32:47.000000000","message":"I assume this is for testing purposes?","commit_id":"c62eec190b0cc2ac606e485276e76905e640dfd7"},{"author":{"_account_id":19930,"name":"Dai Dang Van","email":"daidv@omzcloud.vn","username":"daidv"},"change_message_id":"b3885fdb5e8a5afed76016cebbb3a83b90a2a9c0","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"        self.addCleanup(acl._ENFORCER.clear)"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"    def set_rules(self, rules, overwrite\u003dFalse):"},{"line_number":57,"context_line":"        policy \u003d acl._ENFORCER"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"        policy.set_rules(oslo_policy.Rules.from_dict(rules), overwrite)"}],"source_content_type":"text/x-python","patch_set":8,"id":"3f4b6375_f78231c8","line":56,"range":{"start_line":56,"start_character":31,"end_line":56,"end_character":40},"in_reply_to":"3f4b6375_a0547ccb","updated":"2017-10-19 22:16:04.000000000","message":"Exactly, overwrite is True by default as you know but we only want to override our default rules via set_rules(), so I changed this at one point instead of others.","commit_id":"c62eec190b0cc2ac606e485276e76905e640dfd7"}],"tools/config/policy-generator.mistral.conf":[{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"b62339658dbc3d0383535e27189e1d465b012f41","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"7f515b1d_ee16cc49","line":3,"updated":"2017-10-05 15:38:38.000000000","message":"Declaring an output file might be helpful, too: \n\nhttps://github.com/openstack/keystone/blob/master/config-generator/keystone-policy-generator.conf#L2","commit_id":"3faf185c64df46588ec7afa8b0722fdc4f0e2a65"}],"tox.ini":[{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"b62339658dbc3d0383535e27189e1d465b012f41","unresolved":false,"context_lines":[{"line_number":50,"context_line":"[testenv:genpolicy]"},{"line_number":51,"context_line":"commands \u003d"},{"line_number":52,"context_line":"    oslopolicy-sample-generator --config-file tools/config/policy-generator.mistral.conf \\"},{"line_number":53,"context_line":"    --output-file etc/policy.yaml.sample"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"#set PYTHONHASHSEED\u003d0 to prevent wsmeext.sphinxext from randomly failing."},{"line_number":56,"context_line":"[testenv:venv]"}],"source_content_type":"text/x-properties","patch_set":3,"id":"7f515b1d_8e2198a2","line":53,"range":{"start_line":53,"start_character":5,"end_line":53,"end_character":40},"updated":"2017-10-05 15:38:38.000000000","message":"Or you can do it here, either works.","commit_id":"3faf185c64df46588ec7afa8b0722fdc4f0e2a65"},{"author":{"_account_id":19930,"name":"Dai Dang Van","email":"daidv@omzcloud.vn","username":"daidv"},"change_message_id":"42b624480cb83596d636caa1e90826b45a1d26ab","unresolved":false,"context_lines":[{"line_number":50,"context_line":"[testenv:genpolicy]"},{"line_number":51,"context_line":"commands \u003d"},{"line_number":52,"context_line":"    oslopolicy-sample-generator --config-file tools/config/policy-generator.mistral.conf \\"},{"line_number":53,"context_line":"    --output-file etc/policy.yaml.sample"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"#set PYTHONHASHSEED\u003d0 to prevent wsmeext.sphinxext from randomly failing."},{"line_number":56,"context_line":"[testenv:venv]"}],"source_content_type":"text/x-properties","patch_set":3,"id":"7f515b1d_dc53bce1","line":53,"range":{"start_line":53,"start_character":5,"end_line":53,"end_character":40},"in_reply_to":"7f515b1d_8e2198a2","updated":"2017-10-06 01:03:14.000000000","message":"Yep, I just try to follow something like genconfig in this project, a little bit difference with other project.","commit_id":"3faf185c64df46588ec7afa8b0722fdc4f0e2a65"}]}
