> For the complete documentation index, see [llms.txt](https://help.steeple.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.steeple.com/en/communautes/regle-appartenance.md).

# How do I change the membership rule of a dynamic community?

### Overview

The members of a **dynamic community** are determined by a **automatic membership rule**, built from the **departments** and the **locations** of the employees. You modify the rule, not the member list. See [What are the types of communities?](https://help.steeple.com/en/communautes/types-communautes.md).

This action is reserved for **administrators** : the organization's administrators, for all communities, and the administrators of a community, for their own.

### Steps

**1.** Open **Communities** from the main menu.

**2.** In the left pane, select the dynamic community.

**3.** In the upper right of its space, click the menu **⋮** (three dots), then on **Manage members**. For a dynamic community, this entry opens the membership rule.

<figure><img src="https://608007981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FByS0e17eM732OXdGGkme%2Fuploads%2Fgit-blob-0180a72579c0652986778dfdafa9825c62f62661%2Fcommunautes-gerer-les-membres-menu.png?alt=media" alt="Le menu ⋮ d&#x27;une communauté, avec l&#x27;entrée Gérer les membres mise en évidence" width="240"><figcaption></figcaption></figure>

**4.** Choose the **Services** and **Locations** of the rule.

<figure><img src="https://608007981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FByS0e17eM732OXdGGkme%2Fuploads%2Fgit-blob-a62f84f0b8d92c13b0b98edbc604e7ed27fbbde9%2Fcommunautes-regle-appartenance.png?alt=media" alt="La fenêtre Gérer les membres d&#x27;une communauté dynamique : la règle d&#x27;appartenance automatique avec un service et un lieu"><figcaption></figcaption></figure>

**5.** Click **Save** : nothing has been applied yet. A confirmation first shows you the effect of the new rule.

**6.** Click **Apply** to confirm, or **Cancel** to go back to the rule.

### How the rule is read

* Multiple values of the same field are additive: with two services, it is enough to belong to either one.
* The two fields combine with **AND** : if you choose services **and** and locations, the employees who match both at the same time will be members.
* The window summarizes the rule in the form “Will be members, the employees of: …”.

The rule is built from the services and locations of your organization: see [How do I manage services and locations?](https://help.steeple.com/en/administration/gerer-services-et-sites.md). If your organization has none, the window indicates this: an organization administrator can configure them.

### Confirmation before applying

Confirmation **Apply this automatic membership rule?** indicates:

* the employees who **become members** ;
* the employees who **will no longer be members**, apart from the **administrators** concerned.

### What a new rule changes

* The member list updates **a few moments after** the rule is applied.
* Employees who leave the community **lose access** to its shared content.
* A **administrator** who no longer matches the rule **loses their role** in the community.
* Employees who enter become **members**, without an administrator role.
* Neither employees who enter nor those who leave receive a notification.
* Then, the rule continues to apply: when an employee's department or location changes, they automatically enter the community or leave it.

### If a department or a location is deleted

Deleting a department or location used in the rule recalculates the community members: it may become empty, lose some of its members, or conversely gain some. See [How do I manage services and locations?](https://help.steeple.com/en/administration/gerer-services-et-sites.md).

### What the assistant can do

The assistant cannot modify the membership rule for you. It can explain where to find it in the Communities Space.
