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
1 ACCEPTED SOLUTION

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]

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

View solution in original post

4 REPLIES 4

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

@shaiktanvee 

Hope you are doing good.

Did my reply answer your question?

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

Chavan AP
Kilo Sage

@shaiktanvee 
Let’s modify the access controls for our custom table. Please review the existing setup.


Navigate to System Security → Access Control (ACL) and filter the list by the name of your table.

 

Feel free to add an “ITIL Role” to the required ACL for your table. This should resolve your query.

 

Glad I could help! If this solved your issue, please mark it as Helpful and Accept as Solution so others can benefit too.*****Chavan A.P. | Technical Architect | Certified Professional*****