> For the complete documentation index, see [llms.txt](https://legacydocs.nexudus.com/platform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://legacydocs.nexudus.com/platform/day-to-day/inventory/resources/resource-access-rules.md).

# Resource access rules

Learn how to apply rules to specific types of customers or bookings.

Creating an access rule provides further flexibility in granting access to a resource. For example, the resource rules might be different for the weekend, for specific members, for a particular price plan, or a set of members.

Resource access rules are similar to [resource rules](/platform/day-to-day/inventory/resources/resource-rules.md) but provide a way to make those rule apply only to specific bookings, made by specific customers or at specific times.

## To add resource access rules

1. If the side menu is not visible, click <img src="https://3743897482-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lbh_u87wC7EAH8sHaxc%2F-LcviPQcMDtpl2_Z59Dv%2F-LcvkaY_1pZZ-Skwc2EC%2Fhamburguer.svg?alt=media&amp;token=d821ff24-4695-49c1-9013-00eb620acfbd" alt="" data-size="line"> .
2. In the side menu, click [**Inventory**](https://platform.nexudus.com/billing), then click [**Booking Resources**](https://platform.nexudus.com/billing/resources).
3. Click the icon of the resource whose access rules you want to apply or edit.
4. Under the resource name, click **Access Rules**, then click **Add resource access rule**.
5. On the page that is displayed, enter the relevant information, which is described below.
6. Click **Save**.

![Adding an access rule to a resource](https://3743897482-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lbh_u87wC7EAH8sHaxc%2F-Lhv-H0Rqkkpj_08BUf4%2F-Lhv-KTNWAM2WqgXnHm0%2Fresource_access_rules.png?alt=media\&token=1bd83a88-8248-426d-9c27-0f116cd84650)

![Adding a new access rule](https://3743897482-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lbh_u87wC7EAH8sHaxc%2F-Lhv-H0Rqkkpj_08BUf4%2F-Lhv0JHxAZ7HCpWGCMM0%2Fresource_new_access_rule.png?alt=media\&token=1d7d2877-8663-40d8-bf66-f0b2ca0ae7c2)

Each access the rule has the following options:

| Field                | Description                                            |
| -------------------- | ------------------------------------------------------ |
| Name                 | A name for the rule. This is not visible to customers. |
| This rule is active  | Whether the rule is currently in use or not.           |
| This rule applies to | Whether the rule applies to members, contacts or both. |

## Eligibility

This section allows you define **when this rule will apply** or what **type of customers** will apply to.

| Field                                                               | Description                                                                                   |
| ------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
| This rule applies only to selected customers.                       | Use this option if you want this rule to only apply to specific customers.                    |
| This rule applies only if a booking is made on selected days/times. | Use this option to define the days of the week and time of the day when this rule will apply. |

![Resource eligibility options](https://3743897482-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lbh_u87wC7EAH8sHaxc%2F-Lhv-H0Rqkkpj_08BUf4%2F-Lhv0R3UxT_QsNV8t5p1%2Fresource_eligiblity.png?alt=media\&token=4ec0e360-68ef-4101-acbe-3ff6a6b05247)

## Limits

This section defines what limits and restrictions to apply to bookings meeting the Eligibility section of th rule.

| Field                                                   | Description                                                                                                                   |
| ------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| Reject bookings and show customer the following message | Setting a message in this field will reject **all bookings** meeting the criteria set in the Eligibility section of the rule. |
|                                                         |                                                                                                                               |

![Resource limits options](https://3743897482-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lbh_u87wC7EAH8sHaxc%2F-Lhv-H0Rqkkpj_08BUf4%2F-Lhv0W9RI-FcP5165tls%2Fresource_limits.png?alt=media\&token=802e554e-a324-4357-9f5e-cceac7276e05)
