As an example, let's lock down access to the Maintenance table in our Hotel app. Access to read the records is granted via the x_hotel_maintenance_user role, but we haven't need to give this directly to our admin users because admins have all roles. Instead, let's say that a user with the x_hotel.team_leader role must allocate this privilege.
To see how this works, follow these steps:
- Navigate to User Administration > Roles. Using the Personalize List Columns option available via the cog, add the Assignable by field, and click OK.
- Then, double click the Assignable by field of the x_hotel_maintenance_user record. Set it to x_hotel.team_leader as the screenshot below shows, and click the green tick.