)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"5e13e94b307af41fe0d3366f0807db87b9bfd7a9","unresolved":false,"context_lines":[{"line_number":5,"context_line":"CommitDate: 2017-09-18 04:57:01 -0400"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"add policy check for container actions"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: Ib790ca65c6335aab61e21801ccf233b92d65e316"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1f2f7f8d_91e21c2f","line":8,"updated":"2017-09-19 02:28:56.000000000","message":"Hi @jiangpch,\n\nMind adding more details in the commit message. I am not familiar with Horizon and I am not sure what exactly is the \"policy check\".","commit_id":"5a2ad6e3dd3c9759af14ba7ed74cd126a82aadc0"}],"zun_ui/static/dashboard/container/containers/actions/delete-force.service.js":[{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"5e13e94b307af41fe0d3366f0807db87b9bfd7a9","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":"    function allowed(container) {"},{"line_number":70,"context_line":"      return $q.all(["},{"line_number":71,"context_line":"        policy.ifAllowed({rules: [[\u0027container\u0027, \u0027delete\u0027]]}),"},{"line_number":72,"context_line":"        $qExtensions.booleanAsPromise("},{"line_number":73,"context_line":"          validStates.delete_force.indexOf(container.status) \u003e\u003d 0"},{"line_number":74,"context_line":"        )"}],"source_content_type":"text/javascript","patch_set":1,"id":"1f2f7f8d_71e8d015","line":71,"range":{"start_line":71,"start_character":49,"end_line":71,"end_character":55},"updated":"2017-09-19 02:28:56.000000000","message":"not sure if this should be delete or delete-force","commit_id":"5a2ad6e3dd3c9759af14ba7ed74cd126a82aadc0"}]}
