fixed 解决安全问题访问附件id改为uuid,统一处理,issue不单独处理

This commit is contained in:
xxq250 2023-11-22 11:38:34 +08:00
parent 168f5bf7d1
commit 778f9563f3
1 changed files with 2 additions and 2 deletions

View File

@ -188,8 +188,8 @@ class Issue < ApplicationRecord
end end
def generate_uuid def generate_uuid
return if pm_project_id.nil? # return if pm_project_id.nil?
attachments.map(&:generate_uuid) # attachments.map(&:generate_uuid)
end end
def is_collaborators? def is_collaborators?