git 认证问题

dev_aliyun
daiao 5 years ago
parent 078c37cbda
commit 28b030d4f7

@ -68,8 +68,9 @@ class GitsController < ApplicationController
end end
else else
uid_logger_error("shixun is not exist") uid_logger_error("shixun is not exist")
# result = false # 找TPI的版本库是不是自己
result = true # 为了测试跳出 myshixun = Myshixun.find_by(repo_name: repo_name)
result = (myshixun.present? && system_user&.id == myshixun.user_id ? true : false)
end end
end end
end end

Loading…
Cancel
Save