Skip to content
代码片段 群组 项目
提交 33401ff1 编辑于 作者: Brian Kabiro's avatar Brian Kabiro 提交者: Imre Farkas
浏览文件

Restrict access when restricted visibility level is public

Some organizations prefer to have all Gitlab related data private
but it is currently possible for non-authenticated users to access
certain pages e.g /public and /explore

This change makes it possible to restrict access by
checking if `public` is included in the restricted visibility
level setting.

* require authentication for /explore, /help, and /public for non-authenticated users.
* remove the Explore link from the sign in page.
* redirect an unauthenticated user attempting to access /help to https://docs.gitlab.com/.
上级 aa3b1bcf
No related branches found
No related tags found
无相关合并请求
显示
153 个添加8 个删除
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册