一、Hook executed successfully but returned HTTP 403
1、
系統(tǒng)管理 -> 全局安全配置 -> Authorization -> 登錄用戶可以做任何事情 點(diǎn)選 -> Allow anonymous read access 點(diǎn)選

pic1.jpeg
2、去掉跨站點(diǎn)請求偽造 點(diǎn)選
系統(tǒng)管理 -> 全局安全配置 -> CSRF Protection

pic2.jpeg
3、去掉Gitlab enable authentication 點(diǎn)選
系統(tǒng)管理 -> 系統(tǒng)設(shè)置 -> Enable authentication for '/project' end-point

pic3.jpeg