权限问题

dev_tpm_ui
daiao 5 years ago
parent 63d7759930
commit 08fa196ba8

@ -43,7 +43,7 @@ class ApplicationController < ActionController::Base
end
def shixun_marker
unless current_user.is_shixun_marker?
unless current_user.is_shixun_marker? || current_user.admin_or_business?
tip_exception(403, "..")
end
end

Loading…
Cancel
Save