Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

restrict write access to only one field on form for particular user using ACL

rmaroti
Tera Contributor

I have requirement I want  to restrict the write access of assigned to field on incident table how I can achieve it.

3 REPLIES 3

Harish KM
Kilo Patron
Kilo Patron

Hi @rmaroti There is a OOB ACL on Incident table called "incident.assigned_TO" which grants access to edit assigned to field if user has "sn_incident_write" role, you can update this ACL  by clicking advanced checkbox to true and in script section

answer = false;

 

HarishKM_0-1704941747053.png

 

 

 

Regards
Harish

Thanks got it.

AshishKM
Kilo Patron
Kilo Patron

Hi @rmaroti

You can write client script and make the assignee to read only for every one ( or role based users) , this will apply only at form level.
Or you can create a new ACL ( write ) with applied role to restrict user to save the update on "assignee to" , this is server side check and will effect on form and list view both or update the existing one with some role.

AshishKMishra_0-1704942544212.png

 

-Thanks,

AshishKMishra


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution