We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to make field editable to a specific group, regardless of ACL conditions?

Farah5
Tera Contributor

I have a field that already has an ACL set up with a bunch of different conditions. I want to edit this ACL so that the field becomes editable to users in a specific group, at ALL times, regardless of the conditions. Just adding the role to the Required Roles embedded list doesn't seem to do anything, and I don't want to edit the conditions. I'm not sure how to proceed from here. Do I need to move everything to a script instead?

 

1 ACCEPTED SOLUTION

Raghav Sharma24
Giga Patron

Instead, create a new acl for that field without any conditions and provide access to the specific group.

Use below to check user membership.

gs.getUser().isMemberOf(' ');

View solution in original post

4 REPLIES 4

Raghav Sharma24
Giga Patron

Instead, create a new acl for that field without any conditions and provide access to the specific group.

Use below to check user membership.

gs.getUser().isMemberOf(' ');

I tried but is not working

Thank you so much! that helped me a lot

brianlan25
Kilo Patron

Yes I think it would work best if you script everything. That way the first part of the script could check group membership and/or role. They way ACLs work is it first check for role if you have one in the list then if you have conditions it check them. If either fails then the ACL will in your case block the access.