Let's use several of these features to create a new custom widget that displays whether a guest has had reservations in the past and thanks them for their loyalty:
- Before we do anything, we need to open up the security rules a little. The many-to-many table that we made in Chapter 2, Developing Custom Applications, doesn't have any security rules around it which means the default deny policy kicks in. In the main interface, click Elevate Roles from the user menu.
- Navigate to System Security > Access Control (ACL), and click New. Fill out the form as follows, and Save.
- Operation: read
- Name: x_hotel_m2m_guests_reservations (looks like Guest Reservation [x_hotel_m2m_guests_reservations] - --None--)
- Now, navigate ...