Implement disabling download button [backend]
What does this MR do and why?
Resolves #1896 (closed)
Upstream MR: #103147
实现关闭repo中下载按钮的功能
Screenshots or screen recordings
设置项
勾选
去掉勾选
How to set up and validate locally
- checkout this branch & rails db:migrate
- Admin area >> General >> check "Download source code button"
- 随便进入repo中看效果
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
由 Xueyuan Lin 编辑于