> For the complete documentation index, see [llms.txt](https://docs.cwicly.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cwicly.com/themer/role-editor.md).

# Role Editor

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

{% hint style="warning" %}
The Role Editor is only accessible for the Admin Role.
{% endhint %}

{% hint style="info" %}
The Cwicly User Role Editor allows you to control Cwicly UI changes as well as restrict access to Cwicly features.
{% endhint %}

You can choose the User Role you want to customise, such as: Administrator, Editor, Author, Contributor, Subscriber and toggle on/off the required capabilities.

{% hint style="info" %}
To go quickly, you can Toggle All or Copy and Paste your selection for other roles depending on your requirements for different users.
{% endhint %}

For ease of use, User Capabilities that can be customised are regrouped into categories: Gutenberg Editor, Global Block Behaviour, Block Toolbar, Miscellaneous, Blocks.

You can choose to set specific rules for a particular User which will override the Role Rules.

## Open&#x20;

* Navigate to the Wordpress Dashboard.
* Open the <img src="/files/sHJscThWb2nW7KToY5IY" alt="" data-size="line"> Cwicly tab.
* Find the Role Editor.
* Click to open.

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

## Quick Access from Cwicly Themer

The Role Editor can be opened quickly if you are on the Themer.

* Find Role Editor icon.
* Click to access Role Editor.

<figure><img src="/files/4TN6WCzkatg0fDrBhX5D" alt=""><figcaption></figcaption></figure>

## &#x20;Role

### User

You can select the User Role you want to customise, such as: Administrator, Editor, Author, Contributor, Subscriber and toggle on/off the required capabilities.

{% content-ref url="/pages/x4EBJTzGI5rCEdSQrmOI" %}
[User Role](/themer/role-editor/user-role.md)
{% endcontent-ref %}

## Gutenberg Editor

The Gutenberg Editor panel regroups the Cwicly editor customisations that have been added to the Gutenberg Editor.&#x20;

{% content-ref url="/pages/T4himCdLTyG6iFTdCHkD" %}
[Gutenberg Editor](/themer/role-editor/gutenberg-editor.md)
{% endcontent-ref %}

## Global Block Behaviour

The Global Block Behaviour panel regroups the different Cwicly global block behaviours that have been added.&#x20;

{% content-ref url="/pages/jyKiPJIpBMiiq4CNXdQe" %}
[Global Block Behaviour](/themer/role-editor/global-block-behaviour.md)
{% endcontent-ref %}

## Block Toolbar

The Block Toolbar panel regroups the different Cwicly Block Toolbar modifications.&#x20;

They can be toggled on/off to satisfy different User Roles and include: Cwicly Controls, Dynamic Values, RichText Styling.

<details>

<summary>Toggle</summary>

1. Navigate to the Wordpress Admin Menu
2. Open the <img src="/files/sHJscThWb2nW7KToY5IY" alt="" data-size="line"> Cwicly tab
3. Find the Role Editor
4. Click to open
5. Find User Role menu
6. Click required role ( Administrator, Editor, Author, Contributor, Subscriber)
7. Find the Block Toolbar panel
8. Toggle the required Capability(ies) (Cwicly Controls, Dynamic Values, RichText Styling)

</details>

## Miscellaneous

The Miscellaneous panel regroups the different Cwicly Pseudo Classes/Elements modifications.&#x20;

They can be toggled on/off to satisfy different User Roles and include: Select or add Pseudo Classes/Elements.

<details>

<summary>Toggle</summary>

1. Navigate to the Wordpress Admin Menu
2. Open the <img src="/files/sHJscThWb2nW7KToY5IY" alt="" data-size="line"> Cwicly tab
3. Find the Role Editor
4. Click to open
5. Find User Role menu
6. Click required role ( Administrator, Editor, Author, Contributor, Subscriber)
7. Find the Miscellaneous panel
8. Toggle the required Capability(ies) (Select or add Pseudo Classes/Elements)

</details>

## Code Block

The Code Block panel regroups the different languages that can be used in the Code Block.

{% hint style="info" %}
By default, all languages are disabled.
{% endhint %}

{% hint style="warning" %}
Make sure you trust the code you input in a code block and consider it safe. This code will be run as-is with no prior checks.
{% endhint %}

## Blocks

The Blocks panel regroups the different Cwicly Blocks.&#x20;

They can be toggled on/off to satisfy different User Roles and include all the Cwicly Blocks.

{% hint style="info" %}
To include or remove all Cwicly Blocks you can click the Toggle All button.
{% endhint %}

<details>

<summary>Toggle</summary>

1. Navigate to the Wordpress Admin Menu
2. Open the <img src="/files/sHJscThWb2nW7KToY5IY" alt="" data-size="line"> Cwicly tab
3. Find the Role Editor
4. Click to open
5. Find User Role menu
6. Click required role ( Administrator, Editor, Author, Contributor, Subscriber)
7. Find the Blocks panel
8. Toggle the required Block(s) or Click Toggle All<br>

</details>
