How to create an access control for a table and fields

Lana2xp
Tera Contributor

Hello !

I need to define access control to some fields in the table  

Read to all records : ITIL e ITIL_ADMIN
Update all records: ITIL e ITIL_ADMIN
Delete : 'no one'

and.... fields

For example : i have a field named Minimum to define read to ITIL_admin

a field Group to define write to   ITIL_ADMIN etc

how can i do that ?

1 ACCEPTED SOLUTION

Mujtaba Amin Bh
Mega Guru

Step 1: Elevate role to security_admin.


Step 2: Goto the table on which you want to create access controls.


Step 3: Create a new ACL with operation as read * and in role mention ITIL e ITIL_ADMIN.


Step 4: Create a new ACL with operation as write * and in role mention ITIL e ITIL_ADMIN.


Step 5: Create a new ACL with operation as delete and in role mention admin.



You can also put an ACL for create.


The Access Control form


View solution in original post

5 REPLIES 5

Mujtaba Amin Bh
Mega Guru

Step 1: Elevate role to security_admin.


Step 2: Goto the table on which you want to create access controls.


Step 3: Create a new ACL with operation as read * and in role mention ITIL e ITIL_ADMIN.


Step 4: Create a new ACL with operation as write * and in role mention ITIL e ITIL_ADMIN.


Step 5: Create a new ACL with operation as delete and in role mention admin.



You can also put an ACL for create.


The Access Control form


What happens if there are two ACLs for the same field or table, for the same roles, but one allowing access and another denying?


dasthu1
Kilo Expert

Hi Elaine,



Please go through the below link for more info.


http://wiki.servicenow.com/index.php?title=Using_Access_Control_Rules#gsc.tab=0




Thanks,
Dasthagiri K



PS: Hit like, Helpful or Correct depending on the impact of the response.


Indrajeet
Mega Expert

HI Elaine



please follow the below procedure



1. Elevate role to security_admin.



2. Create a new ACL with Type as record operation as read and after that table_name.* and in role mention itil and itil_admin.


3. Create a new ACL with Type as record operation as write and after that table_name.* and in role mention itil and itil_admin


4. Create a new ACL with Type as record operation as delete and after that table_name.* and in role mention nobody.