# User Permissions

Permissions vary slightly between repositories, which extend the settings from GitHub, and Sandboxes, which solely exist in CodeSandbox.

## Browser and VM Sandboxes [Permalink for this section](/content/docs/learn/access/permissions#browser-and-vm-sandboxes/index.html)

### Private [Permalink for this section](/content/docs/learn/access/permissions#private/index.html)

Private Sandboxes can only be accessed by members of the workspace that owns the Sandbox.

### Unlisted [Permalink for this section](/content/docs/learn/access/permissions#unlisted/index.html)

Unlisted Sandboxes are accessible by workspace members and non-workspace members with the URL.

### Public [Permalink for this section](/content/docs/learn/access/permissions#public/index.html)

Public Sandboxes are visible to everyone. Public Sandboxes are a great option for sharing content with people outside the workspace. Non-workspace members are able to open and run public Sandboxes. In order to edit, however, they will need to fork the Sandbox to their own workspace.

⚠️

VMs used to run public previews will be charged to the workspace that owns the VM Sandbox.

If you want to share a VM Sandbox publicly, consider turning it into a template. That way, the runtime of the VMs used to run the code and/or the preview won't be charged to your workspace.

Default privacy settings for Sandboxes can be set in the workspace portal in the [permissions tab (opens in a new tab)](/content/t/permissions/index.html)

## Repositories [Permalink for this section](/content/docs/learn/access/permissions#repositories/index.html)

### Users with write access [Permalink for this section](/content/docs/learn/access/permissions#users-with-write-access/index.html)

Users with write access to a repository can enjoy the full feature set available on CodeSandbox Repositories.

### Users with read-only access [Permalink for this section](/content/docs/learn/access/permissions#users-with-read-only-access/index.html)

Users with read-only access to the repository can browse the content of the repository, check the previews and execute a few tasks. To introduce changes, they need to create a contribution branch or fork the repository. For more information, visit the [open source collaboration](/content/docs/learn/getting-started/open-source/index.html) page.

### Anonymous users [Permalink for this section](/content/docs/learn/access/permissions#anonymous-users/index.html)

Users without a CodeSandbox account can only browse the content of the project and interact with the previews.

## Feature comparative guide [Permalink for this section](/content/docs/learn/access/permissions#feature-comparative-guide/index.html)

The following table outlines the features available according to each permission.

| Feature | Write access | Read-only access | Anonymous |
| --- | --- | --- | --- |
| Import repository | ✔️ | ❌ - Fork only | ❌ |
| Visit a public project | ✔️ | ✔️ | ✔️ |
| Browse content in a public project | ✔️ | ✔️ | ✔️ |
| Access previews for a public project | ✔️ | ✔️ | ✔️ |
| Visit a private project | ✔️ | ✔️ - with explicit permissions | ❌ |
| Create new branch | ✔️ | ❌ | ❌ |
| Perform any git operation | ✔️ | ❌ | ❌ |
| Open the terminal | ✔️ | ❌ | ❌ |
| Manage environment variables and secrets | ✔️ | ❌ | ❌ |
| Run existing tasks | ✔️ | ✔️ | ✔️ |
| Create new tasks | ✔️ | ❌ | ❌ |
| Change existing tasks | ✔️ | ❌ | ❌ |
| Open DevTools | ✔️ | ✔️ | ✔️ |
| Make changes | ✔️ | ❌ | ❌ |
| Open a pull request | ✔️ | ❌ | ❌ |
| Install the GitHub action | ✔️ | ❌ | ❌ |
| Install the GitHub application | ✔️ | ❌ | ❌ |
| Follow mode | ✔️ | ✔️ | ✔️ |
