)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"da762011eb9c1fe58ca3388b80ca08d58c3d1a62","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When we use tox to generate policy.yaml.sample, the \"default\" policy is not"},{"line_number":10,"context_line":"included in the file. The default rule is enforced when a requested rule is"},{"line_number":11,"context_line":"not found. I think it\u0027s necessary for our project."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I14aeda3cd68ebc852e94fad475d0dd4cb71b662a"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"3f1d235d_d9e5410c","line":11,"updated":"2017-07-10 14:49:35.000000000","message":"Add a line with:\n\nCloses-Bug: #1703066","commit_id":"3e32ce59843191ed23d4e50886e5de57bc574d71"},{"author":{"_account_id":22078,"name":"Damon Li","email":"likailichee@gmail.com","username":"likai"},"change_message_id":"f0e4499d8b790f8d8cc4ed6161933cd5b073a01c","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When we use tox to generate policy.yaml.sample, the \"default\" policy is not"},{"line_number":10,"context_line":"included in the file. The default rule is enforced when a requested rule is"},{"line_number":11,"context_line":"not found. I think it\u0027s necessary for our project."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I14aeda3cd68ebc852e94fad475d0dd4cb71b662a"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"3f1d235d_99fc693f","line":11,"in_reply_to":"3f1d235d_d9e5410c","updated":"2017-07-10 14:57:48.000000000","message":"Thanks Chris, I will modify it.","commit_id":"3e32ce59843191ed23d4e50886e5de57bc574d71"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"ee0323b6928c22cc3fe7b352da8a40c788b5a1f8","unresolved":false,"context_lines":[{"line_number":9,"context_line":"When we use tox to generate \"policy.yaml.sample\", the \"default\" rule is not"},{"line_number":10,"context_line":"included in the file. When I try to use \"policy.yaml\" generated by nova"},{"line_number":11,"context_line":"as the horizon nova policy rules. Horizon can not work for admin-\u003eInstances"},{"line_number":12,"context_line":"panel. It is because rule \"compute:get_all\" is not included in \"policy.yaml\"."},{"line_number":13,"context_line":"The \"default\" rule is enforced when a requested rule is not found."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Closes-Bug: #1703066"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"1f1a1f67_046464e3","line":12,"range":{"start_line":12,"start_character":27,"end_line":12,"end_character":42},"updated":"2017-07-13 18:12:12.000000000","message":"Isn\u0027t this an old rule though for the v2 API?\n\nLooking at https://docs.openstack.org/nova/latest/sample_policy.html we don\u0027t define that rule anymore.","commit_id":"17504e7e7b15d43f0bf5ea4ab4aff75913eeda22"},{"author":{"_account_id":22078,"name":"Damon Li","email":"likailichee@gmail.com","username":"likai"},"change_message_id":"c9eb410f75e759845e2781c6b293bd31ff5bbbf7","unresolved":false,"context_lines":[{"line_number":9,"context_line":"When we use tox to generate \"policy.yaml.sample\", the \"default\" rule is not"},{"line_number":10,"context_line":"included in the file. When I try to use \"policy.yaml\" generated by nova"},{"line_number":11,"context_line":"as the horizon nova policy rules. Horizon can not work for admin-\u003eInstances"},{"line_number":12,"context_line":"panel. It is because rule \"compute:get_all\" is not included in \"policy.yaml\"."},{"line_number":13,"context_line":"The \"default\" rule is enforced when a requested rule is not found."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Closes-Bug: #1703066"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"1f1a1f67_8d8f6b22","line":12,"range":{"start_line":12,"start_character":27,"end_line":12,"end_character":42},"in_reply_to":"1f1a1f67_046464e3","updated":"2017-07-14 02:22:23.000000000","message":"Thanks Matt.\nI use stable/ocata branch.\nFor nova and horizon, they both do not define that rule on policy.yaml and nova_policy.json. It is because there is a rule called \"default\":\"rule:admin_or_owner\" in nova_policy.json for horizon. So it can work well on it.","commit_id":"17504e7e7b15d43f0bf5ea4ab4aff75913eeda22"}]}
