From dc9fae6af0dec69f5ba69e26d5fd6424d15de647 Mon Sep 17 00:00:00 2001 From: Urban Rotnik Date: Thu, 26 Nov 2020 19:01:12 +0100 Subject: [PATCH] Remove manage permissions check from step toggle --- app/controllers/steps_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/steps_controller.rb b/app/controllers/steps_controller.rb index 13feb9de2..7b71dd7fb 100644 --- a/app/controllers/steps_controller.rb +++ b/app/controllers/steps_controller.rb @@ -10,7 +10,7 @@ class StepsController < ApplicationController before_action :convert_table_contents_to_utf8, only: %i(create update) before_action :check_view_permissions, only: %i(show update_view_state update_asset_view_mode) - before_action :check_manage_permissions, only: %i(new create edit update destroy move_up move_down toggle_step_state) + before_action :check_manage_permissions, only: %i(new create edit update destroy move_up move_down) before_action :check_complete_and_checkbox_permissions, only: %i(toggle_step_state checklistitem_state) def new