实践课程的权限

dev_hjm
daiao 6 years ago
parent 316f634ae2
commit df5e9280ef

@ -14,7 +14,7 @@ json.allow_add_member @user.manager_of_subject?(@subject)
json.members @members do |member| json.members @members do |member|
json.partial! 'subject_member', locals: { user: member.user } json.partial! 'subject_member', locals: { user: member.user }
json.allow_delete member.role != 1 json.role member.role
end end
# 技能标签 # 技能标签

Loading…
Cancel
Save