Access Control for Custom Table and Role

Mayur Patil2
Tera Expert

Hello Developer,

 

I am working with ACL for Custom table and Roles.

I have created Custom Table naming u_ghd. And also created 3 different users, i.e.. Requestor, Fulfiller, Manager having custom role x_requestor, x_fulfiller, x_manager respectively. 

Now help me to create an ACL for this role where Requestor having Create and Read access, Fulfiller having Create,Read and Write, and Manager only have Delete access.

 

Thank You,

Mayur Patil

ServiceNow Developer

6 REPLIES 6

Mayur2109
Kilo Sage
Kilo Sage

Hi @Mayur Patil2 ,

 

For your custom table there wiil be ACLs already created by system for Read, Write, Create & Delete (Check by opening the the table record).

You can edit those acl's by elevating your role to security admin, add the user role condition to the required ACLs that will help you.

 

Please check and Mark Helpful and Correct if it really helps you.

Regards,
Mayur Shardul

ServiceNow Rising Star 2024

Hi @Mayur2109 ,

 

Thanks for your quick response. I have checked the OOTB created ACL for my custom table and updated these ACL with custom roles. But When I am trying to Impersonate with Requestor user the he don't have create or write access.

 

Hi @Mayur Patil2 ,

 

Can you share screenshot of your ACL.

 

Regards,

Mayur

Below are the screenshot.

MayurPatil2_0-1727086816479.pngMayurPatil2_1-1727086829523.pngMayurPatil2_2-1727086842473.pngMayurPatil2_3-1727086861190.png