before_action :require_user
before_action :check_permission
before_action :find_issue, :only => [:show, :resolve, :reopen, :ignore]
before_action :require_user
before_action :check_permission
before_action :find_issue, :only => [:show, :resolve, :reopen, :ignore]