fix: authorize

This commit is contained in:
vilet.yy 2021-07-01 13:58:36 +08:00
parent 2a72fc56a4
commit d1939116a3
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ class IssuesController < ApplicationController
before_action :load_project
before_action :set_user
before_action :check_issue_permission
before_action :operate_issue_permission, only:[:create, :update, :destroy, :clean, :series_update]
before_action :operate_issue_permission, only:[:create, :update, :destroy, :clean, :series_update, :copy]
before_action :check_project_public, only: [:index ,:show, :copy, :index_chosen, :close_issue]
before_action :set_issue, only: [:edit, :update, :destroy, :show, :copy, :close_issue, :lock_issue]