# Change access role for Joinchat

## Introduction

By default, administrator privileges are required to configure Joinchat.

You can change the required capability to edit Joinchat general settings with the filter `'joinchat_capability'`.

## Shop managers

```
add_filter( 'joinchat_capability', function(){ return 'manage_woocommerce'; } );Code language: PHP (php)
```

### Allow "editors"

```
add_filter( 'joinchat_capability', function(){ return 'edit_pages'; } )Code language: PHP (php)
```

## Note

> Add this filter via [Code Snippets](https://wordpress.org/plugins/code-snippets/):