Browse Source

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

pull/347/head
xxq250 2 years ago
parent
commit
778f9563f3
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/models/issue.rb

+ 2
- 2
app/models/issue.rb View File

@@ -188,8 +188,8 @@ class Issue < ApplicationRecord
end

def generate_uuid
return if pm_project_id.nil?
attachments.map(&:generate_uuid)
# return if pm_project_id.nil?
# attachments.map(&:generate_uuid)
end

def is_collaborators?


Loading…
Cancel
Save