# Allow and deny lists

> **Set up with an AI agent:** Connect Chrona MCP for documentation, setup guidance and configuration recipes. Server: https://mcp.chrona365.com/mcp (Streamable HTTP; authentication: None). Your agent needs separately authorized Dataverse tools to apply changes. In Copilot Studio, after importing Chrona, add the Chrona Scheduler connector to your agent alongside Microsoft’s Dataverse tools. [Connection guide](https://chrona365.com/workforce/install-with-an-agent).

Use [allow and deny lists](https://chrona365.com/glossary/allow-and-deny-lists) to prefer, avoid or prohibit workers on a shift type, and [risk factors](https://chrona365.com/glossary/risk-factors) to restrict risky work. Generated shifts inherit both; you can edit one shift separately. Auto Schedule follows restrictions. Manual moves follow the Deny rule below.

## Workers on a shift type

Open **Schedulers**, open the scheduler, open its [settings](https://chrona365.com/docs/workforce/scheduler-settings) with the gear button, then select **Shift types** under **Shift types and coverage**.

1. At the bottom of a shift type's card, select **Advanced**.
2. In **Allow and deny list**, select **Add worker** and type a name. The list offers only this scheduler's workers who are not on the list yet.
3. Each worker the picker offers ends in **Preferred**, **Unpreferred** and **Prohibited**. Select one to add the worker that way. Select the name, or press Enter, to add them as **Preferred**.
4. To change a worker, select another of the three in their row. To take them off the list, select the **x** at the end of the row.

Each change saves at once. The card says **Saving**, then **Saved**.

| Choice | What Auto Schedule does |
| --- | --- |
| **Preferred** | Favors the worker for the shift. |
| **Unpreferred** | Avoids the worker for the shift when it can. |
| **Prohibited** | Does not give the worker the shift. A drag of the worker onto it asks for a reason: see [Assign anyway](https://chrona365.com/docs/workforce/call-out#assign-anyway). |

Preferred and Unpreferred are wishes: Auto Schedule weighs them against your other goals. Prohibited is a rule.

The planner's list is not the worker's own wish. A worker marks shift types, night shifts and weekend shifts as **Preferred** or **Unpreferred** in Chrona Workforce Mobile, and the worker's **Preferences** tab lists them.

## Risk factors

A risk factor is a label for a risk a shift carries, such as **Infectious disease** or **Heavy lifting**. Chrona stores the label only, not a medical reason.

- In **Advanced** on a shift type's card, pick the shift type's risk factors in **Risk factors**. The list offers only the risk factors the shift type does not carry yet.
- A worker's **Prohibited risk factors** keep them off every shift that carries one of them. Auto Schedule leaves such a shift for someone else, and a drag onto it asks for a reason.
- The risk factors are one list for your whole organization. Chrona ships **Infectious disease** and **Heavy lifting**. A maker adds others to the **Risk factor** choice in your Dataverse environment.
- Set a worker's prohibited risk factors on the worker's **Overview** tab, under **Advanced** (see [Workers](https://chrona365.com/docs/workforce/workers)). Set the scheduler's Deny rule with the Chrona MCP (Model Context Protocol) server: its configuration sets it up (see [Set up with an agent](https://chrona365.com/workforce/install-with-an-agent)).

## On one shift

Generate, the **Staffing check** task, a new shift in the board's shift dialog and a shift a worker takes from a template in Chrona Workforce Mobile copy the shift type's workers and risk factors to each shift they make. A later change to the shift type leaves shifts already made as they are.

To change one shift's risk factors or workers, double-select the shift or select **Edit shift** on the board. The shift dialog's **Risk factors**, and its **Allow and deny list** under **More**, are for that shift only (see [Add one shift](https://chrona365.com/docs/workforce/templates#add-one-shift)). In **Allow and deny list**, select **Add worker**, type a name, and pick **Preferred**, **Unpreferred** or **Prohibited** on the worker's row; change or remove a worker on their row. A shift type fills the list, and you can change it. **Save** writes the list with the shift in one change. Chrona checks the worker against the risk factors and the list as you pick.

## The Deny rule on the board

The scheduler's Deny rule controls manual drops onto shifts that prohibit the worker or carry their prohibited risk factor:

| Setting | Result |
| --- | --- |
| **Don't allow** (default) | Asks for a reason before it saves the drop, naming the worker and any risk factor. See [Assign anyway](https://chrona365.com/docs/workforce/call-out#assign-anyway). |
| **Warn** | Keeps the drop with a warning. |
| **Off** | Does not check. |

When you review Auto Schedule's proposal, **Prohibited workers** and **Prohibited risk factors** are Must rows of the report. Unpreferred workers count as a Should rule.

## In Chrona Workforce Mobile

A worker cannot take a shift that prohibits them, or that carries one of their prohibited risk factors: not as an open shift, a swap, cover, a shift from a template or a pick. The app does not show the lists or the risk factors. It says only that the shift is not theirs.

---
Product: Workforce Scheduler
Language: English
Canonical: https://chrona365.com/docs/workforce/allow-and-deny
