- ServiceNow Application Development
- Sagar Gupta
- 233字
- 2021-07-03 00:01:04
Creating a new role
In ServiceNow, roles are used to limit and control access to features in applications and modules. Once access to an application or module has been restricted by a role, any user group or user assigned to the role are granted access.
We can create a new role in the Roles modules under the User Administration application. The Roles modules will list all roles currently defined in the instance. Roles are stored in a system table named sys_user_role:

- Click on the New button to bring up the New Record form and enter a name for your new role. In our case, we will set the new role as servers and click on the Submit button.
- We will leave the Elevated privilege checkbox unchecked, which will be covered later in the book. The New Record form of the Roles tables is shown in the following screenshot:

Roles can contain other roles and thus any access granted to a role is granted to any role that contains it. For example, the knowledge_admin role contains the role knowledge, as shown in the following screenshot. Thus, any application or modules that has a requirement of role knowledge will also be accessible by groups and users assigned to the knowledge_admin role:

Once we have created a new role, we will assign it to a group. But first we will assign a user to a group.
- 演進式架構(原書第2版)
- 信息可視化的藝術:信息可視化在英國
- 數據結構習題精解(C語言實現+微課視頻)
- Linux環境編程:從應用到內核
- 機械工程師Python編程:入門、實戰與進階
- 編譯系統透視:圖解編譯原理
- ASP.NET 3.5程序設計與項目實踐
- Windows Server 2016 Automation with PowerShell Cookbook(Second Edition)
- C語言程序設計
- 圖數據庫實戰
- Python程序設計與算法基礎教程(第2版)(微課版)
- Domain-Driven Design in PHP
- 寫給程序員的Python教程
- FPGA嵌入式項目開發實戰
- Instant jQuery Boilerplate for Plugins