List of capabilities added for HBook roles
You will find more information about the different roles in this article of our knowledge base: What are the different roles added by HBook?
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.
Please check this article of our knowledgebase for further details: How to modify capabilities assigned to a role?
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.
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
Capabilities associated to the Custom Post Type “Accommodation Type”
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
HBook added capabilities
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.
Reservation Reader
read_resa: for viewing the admin Reservations page.
read_resa_list: for viewing the admin reservation list and reservation details
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
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
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