Please check gitlab-tutorial

Skip to content

Project features and permissions

DETAILS: Tier: Free, Premium, Ultimate Offering: GitLab.com, Self-managed, GitLab Dedicated

Configure project features and permissions

To configure features and permissions for a project:

  1. On the left sidebar, select Search or go to and find your project.
  2. Select Settings > General.
  3. Expand Visibility, project features, permissions.
  4. To allow users to request access to the project, select the Users can request access checkbox.
  5. To turn features on or off in the project, use the feature toggles.
  6. Select Save changes.

Feature dependencies

When you turn off a feature, the following additional features are also unavailable:

  • If you turn off the Issues feature, project users cannot use:

    • Issue Boards
    • Service Desk
    • Project users can still access Milestones from merge requests.
  • If you turn off Issues and Merge Requests, project users cannot use:

    • Labels
    • Milestones
  • If you turn off Repository, project users cannot access:

    • Merge requests
    • CI/CD
    • Git Large File Storage
    • Packages
  • The metrics dashboard requires read access to project environments and deployments. Users with access to the metrics dashboard can also access environments and deployments.

Toggle project features

Available project features are visible and accessible to project members. You can turn off specific project features, so that they are not visible and accessible to project members, regardless of their role.

To toggle the availability of individual features in a project:

  1. On the left sidebar, select Search or go to and find your project.
  2. Select Settings > General.
  3. Expand Visibility, project features, permissions.
  4. To change the availability of a feature, turn the toggle on or off.
  5. Select Save changes.

Turn off project analytics

By default, project analytics are displayed under the Analyze item in the left sidebar. To turn this feature off and remove the Analyze item from the left sidebar:

  1. On the left sidebar, select Search or go to and find your project.
  2. Select Settings > General.
  3. Expand Visibility, project features, permissions.
  4. Turn off the Analytics toggle.
  5. Select Save changes.

Turn off CVE identifier request in issues

DETAILS: Tier: Free, Premium, Ultimate Offering: GitLab.com

  • Introduced in GitLab 13.4, only for public projects on GitLab.com.

In some environments, users can submit a CVE identifier request in an issue.

To turn off the CVE identifier request option in issues in your project:

  1. On the left sidebar, select Search or go to and find your project.
  2. Select Settings > General.
  3. Expand Visibility, project features, permissions.
  4. Under Issues, turn off the CVE ID requests in the issue sidebar toggle.
  5. Select Save changes.

Turn off project email notifications

Prerequisites:

  • You must have the Owner role for the project.
  1. On the left sidebar, select Search or go to and find your project.
  2. Select Settings > General.
  3. Expand the Visibility, project features, permissions section.
  4. Clear the Enable email notifications checkbox.

Turn off diff previews in project email notifications

  • Introduced in GitLab 15.6 with the flag named diff_preview_in_email. Disabled by default.
  • Enabled the flag diff_preview_in_email on GitLab.com, self-managed, and GitLab Dedicated in GitLab 17.1.

FLAG: The availability of this feature is controlled by a feature flag. For more information, see the history.

When you review code in a merge request and comment on a line of code, GitLab includes a few lines of the diff in the email notification to participants. Some organizational policies treat email as a less secure system, or might not control their own infrastructure for email. This can present risks to IP or access control of source code.

Prerequisites:

  • You must have the Owner role for the project.

To turn off diff previews for a project:

  1. On the left sidebar, select Search or go to and find your project.
  2. Select Settings > General.
  3. Expand the Visibility, project features, permissions section.
  4. Clear Include diff previews.
  5. Select Save changes.

Configure merge request settings for a project

Configure your project's merge request settings:

Delete the source branch on merge by default

In merge requests, you can change the default behavior so that the Delete the source branch checkbox is always selected.

To set this default:

  1. On the left sidebar, select Search or go to and find your project.
  2. Select Settings > Merge requests.
  3. Select Enable "Delete source branch" option by default.
  4. Select Save changes.