# Company policy

**Who:** owners and admins can change the policy.
**Where:** the Ototo web app. An assistant can only read the policy, with `ototo_list_companies`.

Each company has two settings on the **Companies** page:

| Setting | When it is off |
| --- | --- |
| **Allow writes** | Nobody can create, change or delete records in the company (W and X tools). |
| **Allow deletes** | Nobody can delete or void records in the company (X tools). |

**Allow deletes** needs **Allow writes**.
If **Allow writes** is off, **Allow deletes** is off too.

## Change the policy

1. In the web app, open **Companies**.
2. On the row of the company, select or clear **Allow writes**.
3. Select or clear **Allow deletes**.

The web app saves the change immediately.
You can also set these settings in the **Setup guide**, when you connect the company.

## How the policy and access levels work together

A person can use a tool only if two conditions are true:

- Their access level includes the tool.
- The company policy allows that kind of tool.

The policy can only make access smaller. It never gives more access.

On the **Team & permissions** page, the levels that the policy does not allow are not available.
For example, if **Allow writes** is off, you cannot select **Bookkeeper** or **Full access** for that company.

If an assistant tries a tool that the policy blocks, Ototo tells the assistant:

- The kind of tool that is off, and the company.
- For an admin: the link to the Companies page.
- For a member: the names of the admins to ask.

After an admin changes the policy, the person can ask again in the same chat.

**Activity:** the **Usage** page records each change to the policy.
