# List of capabilities added for HBook roles

> [!INFO]
> You will find more information about the different roles in this article of our knowledge base: [What are the different roles added by HBook?](../licence-user-roles/what-are-the-different-roles-added-by-hbook.md)

Below is the list of capabilities that are used by HBook, to allow fine-tuning of user/role capabilities.

A default set of capabilities is pre-assigned to each HBook role, but other capabilities can be added or removed. You can change the capabilities for a role by using HBook filters or a 3rd party plugin.

> [!INFO]
> Please check this article of our knowledgebase for further details: [How to modify capabilities assigned to a role?](../licence-user-roles/what-are-the-different-roles-added-by-hbook.md#roles-hbook-modify-capability)

<a id="wordpress-capability"></a>

### WordPress capability

HBook roles are granted by default the WordPress “**read**” capability only, which is needed for any logged-in user. You may wish to add other WordPress capabilities to grant your user the capabilities associated to one of the WordPress pre-defined role.

<a id="common-capabilities-for-all-hbook-roles"></a>

### Common capabilities for all HBook roles

- **read\_resa:** for viewing the admin reservation page
- **read\_resa\_list:** for viewing the admin reservation list and reservation details

<a id="capabilities-associated-to-the-custom-post-type-accommodation-type"></a>

### Capabilities associated to the Custom Post Type “Accommodation Type”

> [!INFO]
> These capabilities are granted by default only to the “Pricing manager” and “HBook manager” roles. Both roles have the capability “manage\_hb\_accommodation”, which is needed to view and edit “Accommodation Types”.

- **delete\_others\_accoms:** for deleting accommodation types created by other users
- **delete\_accoms:** for deleting accommodations types with all statuses
- **delete\_private\_accoms:** for deleting accommodations types only with the “Private” status
- **delete\_published\_accoms:** for deleting accommodations types only with the “Published” status
- **edit\_other\_accoms:** for editing accommodation types created by other users
- **edit\_accoms:** for viewing and editing accommodations types with all statuses
- **edit\_private\_accoms:** for viewing and editing accommodations types only with the “Private” status
- **edit\_published\_accoms:** for viewing and editing accommodations types only with the “Published” status
- **publish\_accoms:** for changing the accommodation type's status to “Published”
- **read\_private\_accoms:** for viewing the accommodation types set to “Private” status

<a id="hbook-added-capabilities"></a>

### HBook added capabilities

> [!INFO]
> This is to be understood as a set of capabilities pre-assigned to each role, but other capabilities can be assigned or removed.

Below is the list of capabilities added for each pre-set role. It is to be read as the additional capabilities granted for a role, on top of the previously listed capabilities.

A user with “Pricing manager” role has the pre-assigned capabilities of the Reservation Reader + Reservation Manager + Pricing manager. HBook Manager role has all capabilities added by HBook.

<a id="reservation-reader"></a>

#### Reservation Reader

- **read\_resa:** for viewing the admin **Reservations** page.
- **read\_resa\_list:** for viewing the admin reservation list and reservation details

<a id="reservation-manager"></a>

#### Reservation Manager

- **read\_resa\_customer:** for viewing the customer column in the reservation list
- **read\_resa\_price:** for viewing the price column in the reservation list
- **read\_resa\_payments:** for viewing the payment column in the reservation list
- **read\_resa\_origin\_url**: for viewing, in the comment column, the link to the external reservation, when available (AirBnb, TripAdvisor, Campsites.co.uk, etc.).
- **read\_resa\_comment**: for viewing the admin comment
- **manage\_resa:** for editing reservations and running actions on reservations

<a id="pricing-manager"></a>

#### Pricing Manager

- **manage\_hbook:** general capability for viewing and editing HBook settings
- **manage\_hb\_accommodation:** for viewing and editing the accommodation types
- **manage\_hb\_seasons:** for viewing and editing the seasons settings
- **manage\_hb\_rules:** for viewing and editing the booking rules settings
- **manage\_hb\_rates:** for viewing and editing the rates settings
- **manage\_hb\_options:** for viewing and editing the extra services settings
- **manage\_hb\_fees:** for viewing and editing the fees settings
- **manage\_hb\_customers:** for viewing and editing the customers settings
- **manage\_hb\_reservations:** for viewing and editing all the reservation settings

<a id="hbook-manager"></a>

#### HBook Manager

- **manage\_hb\_forms:** for viewing and editing the search form and accommodation selection settings
- **manage\_hb\_details:** for viewing and editing the customer and booking details form settings
- **manage\_hb\_payment:** for viewing and editing the payment settings
- **manage\_hb\_ical:** for viewing and editing the iCal synchronization settings
- **manage\_hb\_emails:** for viewing and editing the emails settings
- **manage\_hb\_documents:** for viewing and editing the documents settings
- **manage\_hb\_appearance:** for viewing and editing the appearance settings
- **manage\_hb\_text:** for viewing and editing the text settings
- **manage\_hb\_langfiles:** for importing and exporting the language files for the translations
- **manage\_hb\_help:** for accessing the help section
- **manage\_hb\_misc:** for viewing and editing the misc settings
- **manage\_hb\_licence:** for viewing and editing the HBook licence
- **manage\_hb\_logs:** for viewing and editing the email and payment logs settings