How to Create ACLs for Role-Based Access on Custom Table

shaiktanvee
Mega Contributor
  1. to allow only users with role "itil" to create/update/delete the record in table
  2. to allow all users to read records from table
2 REPLIES 2

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @shaiktanvee 

It’s easy to set up — you can use it at the table level, add the OTIOL role, and then the ITIL user can see the records in that custom table.

DrAtulGLNG_0-1757517910112.png

 

https://www.servicenow.com/community/cmdb-forum/restrict-itil-users-from-creating-editing-or-deletin...

https://www.servicenow.com/community/developer-forum/i-want-to-create-an-acl-such-that-only-the-admi...

 

 

so check the out of box read ACL on that table because user after doing customtable.list is unable to view records

so you want itil and admin to view as well; check if itil role is added to that out of box read ACL or not; if not add and then check

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Ankur Bawiskar
Tera Patron
Tera Patron

@shaiktanvee 

since it's a custom table it must be having it's own Table.None READ/CREATE/DELETE/WRITE ACLs

Add simply itil role in roles section and you are done.

If my response helped please mark it correct and close the thread so that it benefits future readers.

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