# Access Control

Admins control who can do what within a metaverse using **access groups**. Each access group has a template (e.g. Admin, Developer, Event Runner) and a list of users.

Access groups can be managed via the ![](https://1456550285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoWTlPaoHd1McSakqMigu%2Fuploads%2Fgit-blob-822ffcdd5bdc0a1c56b6454361d79fb2fe71015a%2Fimage.png?alt=media) icon in the top of the dashboard.

<figure><img src="https://1456550285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoWTlPaoHd1McSakqMigu%2Fuploads%2Fgit-blob-affdb73576e9995d2f563cd54dc0139987d1da86%2Fimage.png?alt=media" alt=""><figcaption><p>Add new access groups, and view/edit existing access groups</p></figcaption></figure>

## Templates

Templates are effectively named lists of permissions that describe common workflows, e.g. an admin, a developer, someone who runs events. These are lists we can change over time, if there's not a template that fits your use case - let us know!

You can see what each template group means via the new access group modal

<figure><img src="https://1456550285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoWTlPaoHd1McSakqMigu%2Fuploads%2Fgit-blob-80f337cd0fb06becfc0c3cc1e002eadf965d629b%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## Adding a new access group

Click the `+ New` button to add a new access group to display the following modal.

<figure><img src="https://1456550285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoWTlPaoHd1McSakqMigu%2Fuploads%2Fgit-blob-d73cea63e52fdd9e39d544882bcce8a6351487f3%2Fimage.png?alt=media" alt=""><figcaption><p>Create a role screen</p></figcaption></figure>

1. Pick a name - this can be arbitrary and changed whenever\\
2. Fill out the `Members` field with who're your looking to grant access to (you can select the `Email Domain` tab to grant access for a whole company) - this can also be changed whenever\\
3. Select from the `Access template` drop-down ( e.g. `Content Creator`, `Event Runner`, etc) to control what your users can do - you can hover each list item to see what it does\
   \
   For templates like developer and event runner, you'll also need to select project(s)

{% hint style="info" %}
**What are Projects?**

Projects let you make separates groups of content and worlds within your metaverse which can be extremely useful if have different teams working within your metaverse.

See the [projects](https://docs.msquared.io/admins/settings/projects "mention") page for more information.
{% endhint %}

After submitting, the page should refresh, and you should see the new access group row.

<figure><img src="https://1456550285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoWTlPaoHd1McSakqMigu%2Fuploads%2Fgit-blob-f651211814d49e692b96a941651f32bacbc30f71%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

The above user would now be able to download the editor, upload content, and launch worlds within the `ally test` project.

You can click the :pencil2: button to modify the access group name and add/remove users.

{% hint style="info" %}
You can also invite others to join your world directly from the access groups section in the worlds page. See the [Inviting others to a world](https://docs.msquared.io/creation/worlds/invite-players) page for more information.
{% 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://docs.msquared.io/admins/access-control.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.
