# Managed Role Permissions

If you've ever wanted to grant access for a role to give only specific roles, this module is for you. Alternatively, if you wish you could grant access to give any roles but without the ability to delete roles, this module is also perfect for your needs.

#### OBJECTIVES

* [Configure Managed Role Permissions](#configure-managed-role-permissions)
* [Give or Remove Roles using Managed Role Permissions](#give-or-remove-roles-using-managed-role-permissions)
* [Review Existing Managed Role Permissions](#review-existing-managed-role-permissions)

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

#### REQUIREMENTS

**Premium Tier** and **Deluxe Tier** subscriptions have full functionality access to this feature.

***

## Configure Managed Role Permissions

This feature allows you to enable certain roles to access the `/role add` and `/role remove` commands, either to give all roles below their highest role, or to only roles which you specify.

To give a role permissions, use the `/rolemanager modify` command, specifying the role you wish to give permissions to as an argument. Then, you can either select to give them full permissions (simulated Manage Roles access) or permission to grant only specified roles.

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

There are some restrictions on roles which can be assigned:

* The user running the command cannot grant roles with Manage Roles or Administrator unless the user running the command already has one of these permissions.
* The user running the command cannot grant roles unless they have a role higher than the role they are intending to give
* The user running the command must have either Administrator, Manage Roles, or a role which grants them access to give that role. &#x20;

{% hint style="info" %}
**Disclaimer:** As stated in our terms of service, we do not provide any warranty of any kind for our product. We advise you to do your own research and only use this feature if you are confident that it is compatible with your existing Discord server security solutions.
{% endhint %}

## Give or Remove Roles using Managed Role Permissions

To give or remove roles using managed role permissions, your users can use the `/role add` and `/role remove` commands respectively. The autocompleted role field will allow them to select any role which they have permission to grant.

<figure><img src="/files/pI9ipGsS49TPe6OQ6lmj" alt=""><figcaption><p>The format for the <code>/role remove</code> command is similarly intuitive</p></figcaption></figure>

## Review Existing Managed Role Permissions

As this system gives you an alternative to Discord native permissions, it is important that you remain aware of who has what permissions. It is possible for any user with Administrator permissions in your Discord server to modify the permission for a role.&#x20;

Our `/rolemanager list` command allows you to view all of the roles with permissions on our bot, and the admin responsible for giving them their permissions.

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

Role updates made by users using the `/role` command will have explanatory notes available in the Discord Audit Logs for your server, so you can still get to the bottom of why someone has been given the Muted role for the third time this week.

<figure><img src="/files/0d2dXT3zYULDlJix9gHS" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/w0cNUBfF7mI2vaNabIc6" alt=""><figcaption><p><a href="https://zap-hosting.com/deluxe"><strong>Click here to be redirected to our affiliate link!</strong></a></p></figcaption></figure>


---

# 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.elyxir.dev/features/managed-role-permissions.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.
