# Hats - Workspaces and Teams

BlackBox integrates with [Hats - Workspaces and Teams](https://assetstore.unity.com/packages/tools/utilities/hats-workspaces-and-teams-283644).

When you have both tools installed, you can make it so some Prefabs can only be edited by certain Hats teams. This reinforces areas of ownership, and can prevent edits on key Prefabs.

<figure><img src="/files/mYXVhX4lHP8nCJZhDw4Q" alt="" width="563"><figcaption><p>A Prefab that can be edited by Artists and Programmers, but not Producers</p></figcaption></figure>

{% hint style="info" %}
As a general rule of thumb, we suggest only locking a few key Prefabs out, and leaving most of them editable by the whole team/studio.
{% endhint %}

## How to specify teams

To use this feature, you first need to setup different teams in Hats. This is described in Hats' [Teams documentation](https://tools.continis.io/hats/teams/teams).

Once you have one or more teams, simply open a Prefab that has a BlackBox in Prefab mode. A property called **Allow Editing From** should be visible just before the Reveal Lists (see screenshot above).

Using this dropdown, specify the teams that can edit the Prefab.

{% hint style="warning" %}
If you are part of a team and you deselect it from this dropdown, you will lock yourself out of the Prefab. To be able to edit the Prefab again, either revert the Prefab using version control, or change team temporarily and edit the Prefab again.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tools.continis.io/black-box/integrations/hats-workspaces-and-teams.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
