Merge pull request #2983 from urbanrotnik/ur-sci-5252-technician-can-not-complete-step

Remove manage permissions check from step toggle [SCI-5252]
This commit is contained in:
Urban Rotnik 2020-12-01 13:37:40 +01:00 committed by GitHub
commit 13d157d1c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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