I want to show field data to users for custom role

Sriram Pusuluri
Tera Contributor

Hi Team,

 

I have catalog form, where one variable is reference to cmdb_ci table, for that table user is not having access, so that he is not able to view any record on that table, it is showing as empty.

 

for this I have created a read ACL, and I have given role as my custom role, and condition is cmdb_ci.name

 

SriramPusuluri_0-1778158771197.png

 

we have added role to that user, still data is not showing.

 

user is having record assigned in cmdb_ci table

 

 

15 REPLIES 15

Ankur Bawiskar
Tera Patron

@Sriram Pusuluri 

you should create Table.None READ ACL and not Table.Name READ ACL

Also

you need to create query_range ACL with Table.* 

Give role to that ACL and it will start showing records for non-admins in portal reference variable

Example below

AnkurBawiskar_0-1778159037049.png

 

 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar  So I need create total two ACLs

 

1. cmdb_ci.None READ ACL and role is my role

 

2. cmdb_ci.* query range ACL and role is my role

@Sriram Pusuluri 

correct

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

@Sriram Pusuluri 

Hope you are doing good.

Did my reply answer your question?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader