Skip to content
Snippets Groups Projects
Select Git revision
  • ag-test
  • rs-test
  • master default protected
  • test-me-pa
  • mksionek-master-patch-52381
  • new-branch-10
  • test-conflicts
  • test-suggestions
  • alejandro-test
  • patch-25
  • winh-test-image-doscussion
  • stg-lfs-image-test-2
  • stg-lfs-image-test
  • test42016
  • issue_42016
  • issue-32709
  • add-codeowners
  • ClemMakesApps-master-patch-62759
  • bvl-staging-test
  • bvl-merge-base-api
  • v9.2.0-rc6 protected
  • v9.2.0-rc5 protected
  • v9.2.0-rc4 protected
  • v9.2.0-rc3 protected
  • v9.1.4 protected
  • v9.2.0-rc2 protected
  • v9.2.0-rc1 protected
  • v9.1.3 protected
  • v8.17.6 protected
  • v9.0.7 protected
  • v9.1.2 protected
  • v9.1.1 protected
  • v9.2.0.pre protected
  • v9.1.0 protected
  • v9.1.0-rc7 protected
  • v9.1.0-rc6 protected
  • v9.0.6 protected
  • v9.1.0-rc5 protected
  • v9.1.0-rc4 protected
  • v9.1.0-rc3 protected
40 results

public_access.md

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.

    Public access

    Gitlab allows you to open selected projects to be accessed publicly or internally.

    Projects with either of these visibility levels will be listed in the public access directory.

    Internal projects will only be available to authenticated users.

    Public projects

    Public projects can be cloned without any authentication.

    It will also be listed on the public access directory.

    Any logged in user will have Guest permissions on the repository.

    Internal projects

    Internal projects can be cloned by any logged in user.

    It will also be listed on the public access directory for logged in users.

    Any logged in user will have Guest permissions on the repository.

    How to change project visibility

    1. Go to your project dashboard
    2. Click on the "Edit" tab
    3. Change "Visibility Level"

    Visibility of users

    The public page of users, located at /u/username is visible if either:

    • You are logged in.
    • You are logged out, and the target user is authorized to (is Guest, Reporter, etc.) at least one public project.

    Otherwise, you will be redirected to the sign in page.

    When visiting the public page of an user, you will only see listed projects which you can view yourself.

    Restricting the use of public or internal projects

    In gitlab.yml you can disable public projects or public and internal projects for the entire GitLab installation to prevent people making code public by accident.