Controlling the Hotel application

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:

  1. Navigate to User Administration > Roles. Using the Personalize List Columns option available via the cog, add the Assignable by field, and click OK.
  2. 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.
It is ...

Get ServiceNow: Building Powerful Workflows now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.