)]}'
{"openstack_dashboard/dashboards/project/volumes/volumes/tables.py":[{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"ba473dabb98db516a36d14a1780a24bdb073334a","unresolved":false,"context_lines":[{"line_number":246,"context_line":""},{"line_number":247,"context_line":"    def allowed(self, request, volume\u003dNone):"},{"line_number":248,"context_line":"        has_image_service_perm \u003d \\"},{"line_number":249,"context_line":"            request.user.has_perms(\u0027openstack.services.image\u0027)"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"        return (volume.status in (\"available\", \"in-use\") and"},{"line_number":252,"context_line":"                has_image_service_perm)"}],"source_content_type":"text/x-python","patch_set":3,"id":"bab6814e_f943cb6a","line":249,"updated":"2016-05-18 04:05:44.000000000","message":"if you use has_perms here, it will assume the argument as a list, and this will be iterated as \u0027o\u0027, \u0027p\u0027, \u0027e\u0027\n\nSee: https://github.com/openstack/django_openstack_auth/blob/master/openstack_auth/user.py#L396","commit_id":"f6deda6b24a6d760232d7f783e052b8bdc00aa8e"},{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"311ebbcace59f2fe2ddadf615d224f6593e6bbcc","unresolved":false,"context_lines":[{"line_number":246,"context_line":""},{"line_number":247,"context_line":"    def allowed(self, request, volume\u003dNone):"},{"line_number":248,"context_line":"        has_image_service_perm \u003d \\"},{"line_number":249,"context_line":"            request.user.has_perms(\u0027openstack.services.image\u0027)"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"        return (volume.status in (\"available\", \"in-use\") and"},{"line_number":252,"context_line":"                has_image_service_perm)"}],"source_content_type":"text/x-python","patch_set":3,"id":"bab6814e_99355ff9","line":249,"in_reply_to":"bab6814e_f943cb6a","updated":"2016-05-18 04:06:09.000000000","message":"has_perm works fine, why the change?","commit_id":"f6deda6b24a6d760232d7f783e052b8bdc00aa8e"}]}
