---
title: Give users access to a project
project: Code
version: 2.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/code/2-0/guides/project-access/
updated: 2026-11-19T04:32:09.378Z
---

# Give users access to a project

> Choose which projects and folders each user works with.

Administrators see every project. Other users work with the projects they are assigned to.

## Assign a user to a project

1. Open **Projects** in the main bar and click the project.
2. Scroll to **Users and permissions**.
3. In the users field, choose the people who work on this project.
4. Click **SAVE**.

## Show only some folders

Use **Permissions** to narrow down what a user sees in the file tree. Write one rule per line, with the user ID and a path:

```text
johndoe : /public/
```

With this rule, John sees only the `public` folder of the project.

## Who should get an account

Assignments and rules keep the editor tidy and show each person the work that belongs to them. They don't replace trust between you and your users. Give accounts only to people you trust with the server, and keep sensitive material outside Code.
