BigW Consortium Gitlab

Check if user can update the issue before moving it betweens lists

parent 115fca13
......@@ -9,6 +9,7 @@ module Boards
def execute
return false unless issue.present?
return false unless user.can?(:update_issue, issue)
update_service.execute(issue)
reopen_service.execute(issue) if moving_from.done?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment