@ -329,7 +329,7 @@ class User < ApplicationRecord
# 实训路径:合作者、admin
def manager_of_subject?(subject)
subject.subject_members.exists?(user_id: id, role: [1,2]) || admin?
subject.subject_members.exists?(user_id: id, role: [1,2]) || admin? || business?
end
# 实训管理员:实训合作者、admin