Restrict write access to some fields for 'assigned_to' and 'assignment_group'

AjvadK
Tera Contributor

For Issues form, I want 'assigned_to', and 'assignment_group', users to be only able to modify certain fields. How to achieve this using ACL? 

7 REPLIES 7

@AjvadK 

My apologies there is a security property that allows that and if your instance does not then I would not worry about changing it.

The same configuration of ACLs should still work, just set the table.* ACL to use the same condition as the field level ACLs or the same user role as the record level write ACL. Once you put a single field level ACL in place the rest should default to read-only unless a field specific ACL exists.

Ankur Bawiskar
Tera Patron
Tera Patron

@AjvadK 

you can create those many field level WRITE ACLs with advanced script for each field

something like this

if (gs.getUserID() == current.assigned_to || gs.getUser().isMemberOf(current.assignment_group))
    answer = true;
else
    answer = false;

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@AjvadK 

I believe you want either assigned to or members of assignment group to edit certain fields

for that I shared field level WRITE ACL.

Did that work for you?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader