- 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.
- 樂學Web編程:網站制作不神秘
- 算法訓練營:入門篇(全彩版)
- FFmpeg入門詳解:音視頻流媒體播放器原理及應用
- Mastering JavaScript Design Patterns(Second Edition)
- UVM實戰
- 機器學習與R語言實戰
- PHP 7從零基礎到項目實戰
- 從零開始:UI圖標設計與制作(第3版)
- 零代碼實戰:企業級應用搭建與案例詳解
- Data Science Algorithms in a Week
- Building Business Websites with Squarespace 7(Second Edition)
- AngularJS UI Development
- 劍指大數據:企業級電商數據倉庫項目實戰(精華版)
- 趣學數據結構
- Implementing Splunk(Second Edition)