@ModeCmd.responder
    def mode_cmd(self, mode):
        self._heartbeat.pulse()
        if mode == "manual":
            self._kernel.set_manual_mode()
        elif mode == "auto":
            self._kernel.set_auto_pilot_mode()
        return {'status': mode}
Given a forum post, checks whether the user can edit the latter.
dataset/ETHPy150Open FishPi/FishPi-POCV---Command---Control/fishpi/web/webhost.py/RPCHost.mode_cmd--crossover with--dataset/ETHPy150Open ellmetha/django-machina/machina/apps/forum_permission/handler.py/PermissionHandler.can_edit_post