Commit 09fc3df9014e14725017d97b30e15ff97c3e8493

Authored by Dmitriy Zaporozhets
2 parents a502a2b8 7f84ba86

Merge branch 'explain-setting' into 'master'

Explain setting
Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
doc/public_access/public_access.md
@@ -26,3 +26,7 @@ The public page of users, located at `/u/username` is visible if either: @@ -26,3 +26,7 @@ The public page of users, located at `/u/username` is visible if either:
26 Otherwise, you will be redirected to the sign in page. 26 Otherwise, you will be redirected to the sign in page.
27 27
28 When visiting the public page of an user, you will only see listed projects which you can view yourself. 28 When visiting the public page of an user, you will only see listed projects which you can view yourself.
  29 +
  30 +#### Restricting the use of public or internal projects
  31 +In [gitlab.yml](https://gitlab.com/gitlab-org/gitlab-ce/blob/dbd88d453b8e6c78a423fa7e692004b1db6ea069/config/gitlab.yml.example#L64) you can disable public projects or public and internal projects for the entire GitLab installation to prevent people making code public by accident.
  32 +