acl to restrict delete access

VSN
Tera Expert

i have a requirement to remove delete capability for employee_admin and employee _manager roles on employee form . I have to achive this requirement ony with ACL process, could you please help me with this... 

12 REPLIES 12

Saurabh Gupta
Kilo Patron

Hi,
Check on the table if there is any existing delete acl, try modifying it or mark it as deactivate and create as per you requirement.



Thanks and Regards,

Saurabh Gupta

Not applicable

Hi @VSN ,

Instead of delete ACL. 

What you can do is go to the TABLE that you going to restrict user to delete record.

Under the access control tab, search for DELETE operation. Then hard code it to RETURN FALSE so no one can delete the record. Or you can make use of the ROLE to limit only ADMIN can delete record.

 

SandeepDutta_0-1702976499833.png

 

 

Dr Atul G- LNG
Tera Patron

Hi @VSN 

 

You can do like this:

 

LearnNGrowAtul_0-1702976587623.png

 

Add the table name in the table field.

****************************************************************************************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


****************************************************************************************************************
Known Issue in the ServiceNow Community


Currently, there is a limitation when embedding screenshots directly into a Community post or question. Members may not be able to download the image or zoom in sufficiently to view the details.


For better visibility and quicker resolution, you can either:


Attach the image as a file so members can download and view it at full resolution, or
Embed the image using a larger image size. This needs to be done manually when creating the post.


This is a known Community limitation and is worth keeping in mind when sharing screenshots that contain detailed information.

Dr Atul G- LNG
Tera Patron

or You can make it Delete ACTIVE False at table level @VSN 

 

LearnNGrowAtul_1-1702976708621.png

 

****************************************************************************************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


****************************************************************************************************************
Known Issue in the ServiceNow Community


Currently, there is a limitation when embedding screenshots directly into a Community post or question. Members may not be able to download the image or zoom in sufficiently to view the details.


For better visibility and quicker resolution, you can either:


Attach the image as a file so members can download and view it at full resolution, or
Embed the image using a larger image size. This needs to be done manually when creating the post.


This is a known Community limitation and is worth keeping in mind when sharing screenshots that contain detailed information.