---
metadata:
  - name: generator
    content: Diplodoc Platform v5.54.2
alternate:
  - https://sourcecraft.dev/portal/docs/en/sourcecraft/operations/repo-privacy.md
  - https://sourcecraft.dev/portal/docs/ru/sourcecraft/operations/repo-privacy.md
  - href: en/sourcecraft/operations/repo-privacy.md
    type: text/markdown
    title: Markdown version
  - href: ../../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://sourcecraft.dev/portal/docs/en/llms.txt

<!-- source: en/_includes/sourcecraft/repo-privacy.md -->
# Setting up repository privacy in SourceCraft

SourceCraft supports [creating](https://sourcecraft.dev/portal/docs/en/sourcecraft/operations/repo-create.md) public, internal, or private [repositories](https://sourcecraft.dev/portal/docs/en/sourcecraft/concepts/index.md#repos). You can [enable](#public), [restrict](#internal), or [disable](#private) public access at any time.

## Making a repository public {#public}

1. Open the SourceCraft [home page](https://sourcecraft.dev).
1. On the ![image](../../_assets/console-icons/house.svg) **Home** tab, under ![image](../../_assets/console-icons/layout-tabs.svg) **Your craftspace**, navigate to ![image](../../_assets/console-icons/archive.svg) **Repositories**.
1. Select a repository.
1. Under ![image](../../_assets/console-icons/gear.svg) **Repository settings** on the repository page, go to ![image](../../_assets/console-icons/circle-exclamation.svg) **General**.
1. In the **Visibility** field, select the **Public** access type for the repository to allow view access to all internet users without authentication. Only invited users will be able to modify the repository.
1. Click **Update settings**.

## Making a repository internal {#internal}

1. Open the SourceCraft [home page](https://sourcecraft.dev).
1. On the ![image](../../_assets/console-icons/house.svg) **Home** tab, under ![image](../../_assets/console-icons/layout-tabs.svg) **Your craftspace**, navigate to ![image](../../_assets/console-icons/archive.svg) **Repositories**.
1. Select a repository.
1. Under ![image](../../_assets/console-icons/gear.svg) **Repository settings** on the repository page, go to ![image](../../_assets/console-icons/circle-exclamation.svg) **General**.
1. In the **Visibility** field, select **Internal** as the repository access type so that only users from the organization housing the repository have access to view and edit the repository.
1. Click **Update settings**.

## Making a repository private {#private}

1. Open the SourceCraft [home page](https://sourcecraft.dev).
1. On the ![image](../../_assets/console-icons/house.svg) **Home** tab, under ![image](../../_assets/console-icons/layout-tabs.svg) **Your craftspace**, navigate to ![image](../../_assets/console-icons/archive.svg) **Repositories**.
1. Select a repository.
1. Under ![image](../../_assets/console-icons/gear.svg) **Repository settings** on the repository page, go to ![image](../../_assets/console-icons/circle-exclamation.svg) **General**.
1. In the **Visibility** field, select the **Private** repository access type to allow view and edit access only to invited users.
1. Click **Update settings**.
<!-- endsource: en/_includes/sourcecraft/repo-privacy.md -->

#### Useful links {#see-also}

* [Sending and accepting an invitation to a SourceCraft organization](https://sourcecraft.dev/portal/docs/en/sourcecraft/operations/invite.md)
* [Access management in SourceCraft](https://sourcecraft.dev/portal/docs/en/sourcecraft/security/index.md)
* [Creating a repository in SourceCraft](https://sourcecraft.dev/portal/docs/en/sourcecraft/operations/repo-create.md)
* [SourceCraft resource relationships](https://sourcecraft.dev/portal/docs/en/sourcecraft/concepts/index.md)
