> ## Documentation Index
> Fetch the complete documentation index at: https://docs.curebot.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Permissions and staff

> Decide who can use which cure commands, without handing out risky Discord permissions.

## Staff roles

Tell cure who your staff are in **Moderation → Punishment messages → Staff and limits**:

* **Moderators** and **Administrators**: roles that can use cure's moderation commands without the Discord permission.
* **Other staff**: anti-spam leaves them alone, and antinuke can take these roles away from someone it catches.
* **Protected**: members with these can't be punished with cure at all. Use it for senior staff.
* **Can lift hardbans**: roles allowed to undo a [hardban](https://docs.curebot.site/moderation/members.md).

### Owner only

Some settings decide who holds power in the server, so only the server owner can change them. The dashboard marks them **Owner only** with a crown, and everyone else sees them locked:

* Administrators, Protected roles, protected members and Can lift hardbans
* [Fake permissions](#fake-permissions)
* Antinuke administrators
* [Dashboard access](https://docs.curebot.site/start/dashboard-access.md)

`,settings` refuses them too, and when someone else resets settings or loads a settings file, these stay as they are.

## Fake permissions

Only the server owner can change these. Discord's permissions are all-or-nothing: **Ban Members** lets someone ban with any bot *and* from the member list. A fake permission lets a role use cure's ban command only, while Discord still says no everywhere else. It's ideal for trial moderators.

| Run | To |
| - | - |
| `/roles fake grant role:@Trial permissions:ban_members` | Let a role use cure's commands that need that permission |
| `/roles fake list` | See what's granted |
| `/roles fake remove` or `clear` | Take it back |

## Command access

**Dashboard → Bot → Command access** decides which commands run, and where. It has three parts:

> [tab] Everywhere
>
> Pick a mode for the whole server:
>
> * **All commands on**: everything runs, except the commands you list as **Turned off**.
> * **Only chosen commands**: nothing runs except the commands you list as **Allowed**. If you choose this and allow nothing, every command is off; the page warns you.

> [tab] Channels, roles and members
>
> A rule for one channel, role or member. It can turn some commands off there, turn everything off except a few, or turn commands **on** there.
>
> A rule that turns a command on wins over the server-wide mode. So with **Only chosen commands** on, a rule for `#music` that turns on `music` lets music run in that channel only.

> [tab] Limit a command
>
> Keep one command to some channels, roles or members, like `,giveaway` for the Events team.

`,help`, `,settings` and `,command` always work, so nobody gets locked out. When cure refuses a command, it says which setting did it:

![](https://docs.curebot.site/images/showcase-member.png)

in the poolToday at 4:12 PM

,play lofi

![](https://docs.curebot.site/images/cure-avatar.jpg)

cureAPPToday at 4:12 PM

Only chosen commands run in this server, and **play** isn't one of them. `,command enable all` turns every command back on

An administrator can change this in the dashboard or with the command access settings.

### From Discord

| Run | To |
| - | - |
| `,command` | See what's off and every rule |
| `,command disable ban` | Turn one command off everywhere |
| `,command enable all` | Turn every command back on, and leave "only chosen" mode |
| `,command disable all in #bots` | Turn everything off in one channel |
| `,command enable music in #music` | Turn one command on in one channel |
| `,command restrict giveaway to @Events` | Keep a command to a role, member or channel |

## "Why can't they…?"

cure can explain any permission question:

| Run | Answers |
| - | - |
| `/roles permissions view user:@them channel:#chat` | Everything they can and can't do there |
| `/roles permissions explain permission:send_messages user:@them` | Exactly which role or channel setting allows or blocks it |
| `/roles permissions moderation action:ban actor:@mod target:@member` | Whether one member can act on another, and why not |
| `/roles permissions map channel:#chat` | A diagram of who can see a channel |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.