dev_forum
cxt 5 years ago
parent 25bf4affe2
commit 6b3d4a70c8

@ -266,7 +266,7 @@ class SubjectsController < ApplicationController
end
def add_subject_members
tip_exception(403, "没权限操作") if !current_user.admin?
# tip_exception(403, "没权限操作") if !current_user.admin?
tip_exception("user_ids 不能为空!") if params[:user_ids].blank?
memberships = params[:user_ids]
memberships.each do |member|

Loading…
Cancel
Save