fixed 解决安全问题访问附件id改为uuid,统一处理,issue不单独处理
This commit is contained in:
parent
168f5bf7d1
commit
778f9563f3
|
@ -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?
|
||||||
|
|
Loading…
Reference in New Issue