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.

Security prevents writing to this field

SnehalFarakte
Tera Contributor

Hi There,

 

When I am trying to edit assigned to and assignment group from the  list view of table , I am getting error as "Security prevents writing to this field"

 

Which ACL is needed here?

 

Can you provide steps for this?

 

 

 

Thanks in advance!

 

  

1 ACCEPTED SOLUTION

John Zhang1
Kilo Patron
Kilo Patron

You need to create ACL list_edit record for a list view that you want.

JohnZhang1_0-1676605720588.png

 

View solution in original post

10 REPLIES 10

The following is ACL script code.   I don't have time to debug.  Please test for your own use:

var isManager;
var mg = new GlideRecord(sys_user);
mg.get(current.assigned_to);

isManager = mg.manager;
if (isManager == gs.getUserID())
answer = true;
else
answer = false;