Read access to a custom table in Service Now.

Mrman
Tera Guru

Hi All,

This is about making a custom table visible and can read the data within   .I created a custom table for populating data from a 3rd party tool via REST API .

Now requirement is to make this table visible to a role called "asset" , this role should be able to see and read the data in it. Please guide me .

I can see that default user role is populated under Controls related list , it has populated based on table name I given.

Please let me know if I can give "asset" role here . When I tried I am getting below confirmation , please suggest .

find_real_file.png

find_real_file.png

21 REPLIES 21

darius_koohmare
ServiceNow Employee
ServiceNow Employee

What you want is a read ACL on that custom table, for the "asset" role.


Go to the Access Control module in your instance.


Elevate your roles to security admin by clicking your portrait in the upper right, and elevating roles.


Create a new ACL on that custom table, with no field selected.


In the roles section, add that asset role.


amlanpal
Kilo Sage

Hi Ravishankar,



You might unchecked the 'Create Access Control' checkbox and create the table. Once the table gets created, you might create the ACL providing the users having 'asset' role to read and/or write access as per your requirement.


If you already have created the the table with the ACLs then you better navigate to each and every ACL and remove the particular role adding 'asset' over there.



I hope this helps. Please mark correct/helpful based on impact


Hi Amlan,



I have already created the table and as per my screenshot   it has populated default user role in "user Role" as per my table label .



Please let me know whether I need to add "asset" role there?


I need this table to be only visible and "asset" role has to read the data in it .



There are already 4 ACLS created based on default user role as I checked the "create access control"   box while creating table.



find_real_file.png


For Read acl change role from 'u_cmdb_ci_user' to 'asset'.