# Permission system

The new command permission system let you decide which Discord roles may use which Romod commands, instead of giving every moderator the same full toolbox.

By default, nothing changes: anyone who could use Romod before still needs your moderator role from `/setup`, and that role keeps working for every command until you add a special rule. If no role is set for that command then it fallsback to the modrole set in the /setup command.

Server administrators (people with Discord’s Administrator permission) can open the `/permissions` commands. There you pick a specific slash command from the list Romod suggests, then choose up to five roles that are allowed to run only that command. If you set an override for a command, only those roles (plus the bot’s developers, if any) can use it for that command; the usual mod role no longer counts for that one unless you also include it in the list. If you never set an override for a command, it still uses the normal mod role only.

You can remove individual roles from an override, clear an override entirely so that command goes back to the default mod role, or list everything you have configured so audits are easy. Command names match what Discord shows, including subcommands (for example grouped commands appear as the full name, not just the group).

Changing permissions does not affect your Roblox bans or game settings; it only changes who is allowed to press which buttons in Discord. If you ever wipe the server’s Romod data with `/resetdata`, your custom permission rules for that server are removed too and you would set them again after a fresh setup.


---

# 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.jbz.dev/romod/features/permission-system.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.
