mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 11:50:49 +08:00
Test Project Validate Failed15
This commit is contained in:
@@ -5,7 +5,8 @@ module Devopsable
|
||||
end
|
||||
|
||||
# ci 权限验证
|
||||
def ci_authorize!
|
||||
def ci_authorize!
|
||||
Rails.logger.info("================project_id :#{@project&.id}")
|
||||
render_forbidden unless @project.owner?(current_user)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user