Test Project Validate Failed15
This commit is contained in:
parent
7e7ab71231
commit
46801284aa
|
@ -5,7 +5,8 @@ module Devopsable
|
||||||
end
|
end
|
||||||
|
|
||||||
# ci 权限验证
|
# ci 权限验证
|
||||||
def ci_authorize!
|
def ci_authorize!
|
||||||
|
Rails.logger.info("================project_id :#{@project&.id}")
|
||||||
render_forbidden unless @project.owner?(current_user)
|
render_forbidden unless @project.owner?(current_user)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue