# Roles and permissions

> The five workspace roles, every permission and what it unlocks, how to customise a role's permissions, and the rules that no customisation can change.

Every member of a workspace has exactly one role. The role decides what they can do in the workspace and in **every project in it**; there are no per-project roles. Each role starts with a default set of permissions, and owners and admins can [customise](#customising-a-role) the set for each role in their workspace.

Bloxlytics checks permissions on the server for every request. Hiding a button in the app is a convenience; the server is what refuses the action. See [enforcement](#how-permissions-are-enforced).

> **Info:** Analytics access never implies DataStore, moderation or command access. Those are separate, explicit permissions, so you can give an analyst full analytics without letting them touch player data or game servers.

## The five roles

| Role | Rank | In short |
| --- | --- | --- |
| **Owner** | Highest | Full control, including billing and deleting the organisation. Always holds every permission. Exactly one per workspace. |
| **Admin** | | Everything except billing; manages members and permissions. |
| **Developer** | | Analytics, DataStore and MemoryStore editing, moderation, commands and macros. |
| **Analyst** | | Analytics and configuration of funnels, segments and dashboards. |
| **Viewer** | Lowest | Read-only analytics and player lookup. |

Rank matters beyond permissions: you can only invite, change, remove or customise roles *below* your own. See [rules no override can change](#rules-no-override-can-change).

## Default permission matrix

These are the defaults for a new workspace. ✓ means granted; — means not granted. Highlighted cells on the **Roles & permissions** tab show where your workspace differs from this table.

| Permission | Key | Owner | Admin | Developer | Analyst | Viewer |
| --- | --- | :-: | :-: | :-: | :-: | :-: |
| **Workspace** | | | | | | |
| Edit workspace details | `workspace.manage` | ✓ | ✓ | — | — | — |
| Manage billing and plan | `workspace.billing` | ✓ | — | — | — | — |
| Change member roles and remove members | `members.manage` | ✓ | ✓ | — | — | — |
| Invite members | `members.invite` | ✓ | ✓ | — | — | — |
| View audit log | `audit.view` | ✓ | ✓ | ✓ | — | — |
| **Projects** | | | | | | |
| Create projects | `project.create` | ✓ | ✓ | ✓ | — | — |
| Edit project settings and SDK keys | `project.settings` | ✓ | ✓ | ✓ | — | — |
| Manage Roblox Open Cloud credentials | `project.credentials` | ✓ | ✓ | — | — | — |
| Delete projects | `project.delete` | ✓ | ✓ | — | — | — |
| **Analytics** | | | | | | |
| View analytics | `analytics.view` | ✓ | ✓ | ✓ | ✓ | ✓ |
| Create funnels, segments, dashboards, experiments and alerts | `analytics.configure` | ✓ | ✓ | ✓ | ✓ | — |
| **Players** | | | | | | |
| Look up players and view profiles | `players.view` | ✓ | ✓ | ✓ | ✓ | ✓ |
| **DataStores** | | | | | | |
| Browse and read DataStores | `datastore.read` | ✓ | ✓ | ✓ | — | — |
| Edit, delete and restore DataStore and ordered DataStore entries | `datastore.write` | ✓ | ✓ | ✓ | — | — |
| **MemoryStores** | | | | | | |
| Browse sorted maps and read queues | `memorystore.read` | ✓ | ✓ | ✓ | — | — |
| Edit sorted map items and add or discard queue items | `memorystore.write` | ✓ | ✓ | ✓ | — | — |
| Flush all MemoryStore data in an experience | `memorystore.flush` | ✓ | ✓ | — | — | — |
| **Moderation** | | | | | | |
| View moderation history and notes | `moderation.view` | ✓ | ✓ | ✓ | — | — |
| Kick, warn, ban and unban players | `moderation.act` | ✓ | ✓ | ✓ | — | — |
| **Commands** | | | | | | |
| View registered Cmdr commands and history | `commands.view` | ✓ | ✓ | ✓ | — | — |
| Execute Cmdr commands | `commands.execute` | ✓ | ✓ | ✓ | — | — |
| Create and edit macros | `macros.manage` | ✓ | ✓ | ✓ | — | — |
| Run macros | `macros.execute` | ✓ | ✓ | ✓ | — | — |

## What each permission unlocks

Some permissions only work together with others. The **Also needs** column lists them: granting a permission without them has no effect for that feature.

### Workspace

| Permission | Unlocks | Also needs |
| --- | --- | --- |
| `workspace.manage` | Changing the workspace **Name** and **Logo URL** under **Workspace settings → General**. | — |
| `workspace.billing` | Changing the **Plan** and **Billing email** under **Plan and billing**. | — |
| `members.manage` | Changing members' roles and removing members on **Members**; changing the permission matrix on **Roles & permissions**. Still limited to roles below your own. | — |
| `members.invite` | The **Invite people** form, the **Pending invitations** list and **Revoke**. You can only invite to roles below your own. | — |
| `audit.view` | The **Audit log** tab and sidebar item for the workspace and all its projects. | — |

### Projects

| Permission | Unlocks | Also needs |
| --- | --- | --- |
| `project.create` | **New project** on the workspace's project list. | — |
| `project.settings` | Editing the project's settings; showing the SDK write and bridge keys (each viewing is logged); rotating either key; editing the SDK configuration, including **Cmdr groups per role** and player banners; clearing reported SDK issues. | `analytics.view` to open the project |
| `project.credentials` | Connecting, changing and disconnecting the Roblox Open Cloud API key, and requesting a Roblox sync. | `analytics.view` to open the project |
| `project.delete` | Deleting a project from its settings (you type the project name to confirm). | `analytics.view` to open the project |

### Analytics

| Permission | Unlocks | Also needs |
| --- | --- | --- |
| `analytics.view` | Opening a project at all, and every analytics page: overview, realtime, retention, funnels, economy, events, monetisation, segments, experiments, alerts, Explore, project settings and integrations (read-only), the SDK page. Viewing shared dashboards and creating **private** dashboards of your own. | — |
| `analytics.configure` | Creating, editing and deleting funnels, segments, saved Explore queries, experiments and alerts. Sharing a dashboard with the project, editing shared dashboards, reordering dashboards, and creating or revoking public dashboard links. | `analytics.view` |

### Players

| Permission | Unlocks | Also needs |
| --- | --- | --- |
| `players.view` | The **Players** list, **Player Lookup** and player profiles. Lists of individual players elsewhere, such as churned players and funnel drop-off players, and player-level dashboard widgets. | `analytics.view` to open the project |

### DataStores

| Permission | Unlocks | Also needs |
| --- | --- | --- |
| `datastore.read` | **DataStore Explorer**: listing stores and keys, reading entries, version history, ordered DataStores, and the DataStore audit log. The player profile's **DataStore** tab. | The project's Open Cloud key must have the DataStore read scopes |
| `datastore.write` | Editing, creating, deleting and restoring entries; setting, incrementing, creating and deleting ordered DataStore entries. | `datastore.read`, and the key's write scopes |

See [DataStore Explorer](https://docs.bloxlytics.app/operations/datastores#open-cloud-scopes) for the Open Cloud scopes.

### MemoryStores

| Permission | Unlocks | Also needs |
| --- | --- | --- |
| `memorystore.read` | **MemoryStore Explorer**: browsing sorted maps, peeking at queues, and the MemoryStore audit log. | The key's MemoryStore read scopes |
| `memorystore.write` | Saving, creating and deleting sorted map items; adding queue items; **Read and hold** and discarding. | `memorystore.read`, and the key's write scopes |
| `memorystore.flush` | **Flush…**, which deletes every sorted map and queue in the experience. | `memorystore.read`, `memorystore.write` and the key's `memory-store:flush` scope |

Flushing is held only by owners and admins by default, because it wipes live state for every server at once.

### Moderation

| Permission | Unlocks | Also needs |
| --- | --- | --- |
| `moderation.view` | The profile's **Moderation** tab, the project's moderation log and the list of bans. | `players.view` |
| `moderation.act` | Banning and unbanning, kicking and warning; adding and deleting moderation notes; setting and clearing player flags. | `players.view` and `moderation.view` |

### Commands

| Permission | Unlocks | Also needs |
| --- | --- | --- |
| `commands.view` | **Macro Runner**: the registered command list, checking a command as you type, command history, the macro list, macro run history and run pages, and starring favourite macros. | — |
| `commands.execute` | Running a command on a live game server, from the console or a player profile. | `commands.view` |
| `macros.manage` | Creating, editing, duplicating and deleting macros. | `commands.view` |
| `macros.execute` | Starting a macro run (or dry run) and pausing, resuming or stopping one. | `commands.view`; each command step also needs `commands.execute` |

A running macro re-checks `macros.execute` and `commands.execute` for the person who started it before every command step, so removing either stops the run at the next step. See [Macros](https://docs.bloxlytics.app/operations/macros).

## Customising a role

Owners and admins can change which permissions each role has, for the whole workspace. Open **Workspace settings → Roles & permissions**.

The tab shows the matrix above for your workspace: one row per permission (its label and key), grouped as in the table, with a checkbox per role. Tick or untick a checkbox to grant or remove that permission for everyone with that role. The change saves immediately and applies to every project in the workspace from the next request each member makes; nobody needs to sign in again.

- Cells that differ from the role's default are highlighted ("Highlighted cells differ from the role's default.").
- Setting a cell back to its default removes the customisation rather than storing a duplicate.
- **Reset to defaults** removes every customisation for every role in the workspace. Members keep their roles. It's available to owners and admins only, and only when something has been changed.
- Every change is recorded in the [audit log](https://docs.bloxlytics.app/workspaces/audit-log) as **Changed role permissions** (with the role, the permission and whether it was granted or removed), and a reset as **Reset role permissions**.

Members without `members.manage` can open the tab and see the matrix, with the note "You can view the permission matrix. Changing it requires the members.manage permission."

### Who can change which cells

A checkbox is disabled, with a tooltip explaining why, when:

| Tooltip | Reason |
| --- | --- |
| "Owners always hold every permission" | The **Owner** column can never be changed. |
| "Requires members.manage" | You don't hold `members.manage`. |
| "You can only change roles below your own" | An admin can change Developer, Analyst and Viewer, but not Admin. Only the owner can change the Admin column. |
| "You can't grant a permission you don't hold" | You can remove a permission you don't hold from a lower role, but not grant it. For example, an admin can never grant `workspace.billing`. |

> **Granting powerful permissions:** Be careful granting `members.manage` or `members.invite` to Developer, Analyst or Viewer. Members of that role can then invite people, change roles and edit the permission matrix for every role below their own. Granting `datastore.write`, `moderation.act` or `commands.execute` lets that role change player data, ban players or run commands on live servers, and these act on Roblox and your game, not just inside Bloxlytics.

## Rules no override can change

Some rules are tied to the role itself, not to a permission, so customising the matrix doesn't affect them:

- **The owner holds every permission**, always.
- **Rank limits management.** You can only change the role of, remove, invite or customise members and roles strictly below your own. The owner can manage everyone. An admin can't change or remove another admin.
- **You can't change your own role.**
- **Nobody can be invited as Owner.** Invitations offer Admin, Developer, Analyst and Viewer, limited to roles below yours.
- **Only the owner can transfer ownership.** On **Members**, the member's **⋯** menu, **Transfer ownership**. The new owner gets full control and the previous owner becomes an admin.
- **The owner can't be removed** and can't leave until they've transferred ownership.
- **Only the owner can delete an organisation.** Personal workspaces can't be deleted at all.
- **Only owners and admins can reset permissions** to defaults.
- **Moderation notes** can be deleted only by the note's author, or by an owner or admin, even if another role holds `moderation.act`.
- **Private dashboards** are visible only to the person who created them, whatever their role.

## Cmdr groups per role

On top of permissions, a project can limit which Cmdr command groups each role may run from Bloxlytics: **Cmdr groups per role** in the project's SDK configuration has lists for **Owner**, **Admin** and **Developer**, and analysts and viewers who've been granted command access use the developer list. An empty list allows every group the game's bridge permits. See [Per-role Cmdr groups](https://docs.bloxlytics.app/operations/commands#per-role-cmdr-groups).

## How permissions are enforced

- **On the server, every time.** Each request is checked against your membership and your role's permissions in that workspace as they are at that moment, including customisations. The app only uses permissions to decide what to show.
- **Not a member looks like not found.** If you aren't a member of a workspace, its pages and projects respond as if they don't exist ("Workspace not found", or "You need permission to access this content" for project pages), so ids can't be probed.
- **Missing permissions are named.** A refused project action says what's missing, for example "Your role (analyst) lacks the datastore.write permission."
- **Roblox limits apply too.** DataStore and ban features also depend on the scopes of the project's Open Cloud API key; a key with read scopes can never be used to write, whatever your role. See [Connect Open Cloud](https://docs.bloxlytics.app/projects/open-cloud).
- **Your game has the last word on commands.** Commands only run if the [Cmdr bridge](https://docs.bloxlytics.app/sdk/cmdr-bridge/security) and your Cmdr hooks allow them.

## Choosing roles

| If someone needs to… | Give them |
| --- | --- |
| Look at numbers and players, nothing else | **Viewer** |
| Build funnels, segments, dashboards, experiments and alerts | **Analyst** |
| Edit player data, moderate, run commands and macros, manage SDK keys | **Developer** |
| Manage the team, credentials and projects | **Admin** |
| Own billing and the organisation itself | **Owner** (one person; transfer when needed) |

If a role is nearly right, customise it rather than promoting someone. For example, untick `datastore.write` for Developer if only admins should change player data, or tick `moderation.view` for Analyst so analysts can see bans and notes without acting on them.

## Related

- [Invitations](https://docs.bloxlytics.app/workspaces/invitations): Invite people with a role.

- [Audit log](https://docs.bloxlytics.app/workspaces/audit-log): See who changed what.

- [Security and privacy](https://docs.bloxlytics.app/security): How access is protected.
