> For the complete documentation index, see [llms.txt](https://docs.serenity.wtf/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.serenity.wtf/security-setup/fake-permissions.md).

# Fake Permissions

{% hint style="info" %}
Replace `[prefix]` with your server's prefix.
{% endhint %}

## What are fake permissions?

Fake permissions are a way to help keep your server safe. With fake permissions, you can allow roles to use certain commands that require a permission without actually giving the role a permission. This will prevent any malicious harm to your server.

## Why use fake permissions? <a href="#why-use-fake-permissions" id="why-use-fake-permissions"></a>

If your roles don't have any dangerous permissions, a bot or untrustworthy/compromised staff member won't be able to do anything without using serenity.

{% hint style="warning" %}
You need to be an **administrator** to run these commands.
{% endhint %}

To **grant** roles fake permissions, use the following command:

```
// Syntax
[prefix]fakepermissions add [role] [permission]
// Example
;fakepermissions add @Mod manage_messages
```

To **revoke** fake permissions, use the following command:

```
// Syntax
[prefix]fakepermissions remove [role] [permission]
// Example
;fakepermissions remove @Mod manage_messages
```

After running these commands, serenity will tell you that you have **added/removed** fake permissions to/from a role.

<figure><img src="/files/cvFNfKldGOHgKkihSDoZ" alt=""><figcaption></figcaption></figure>
