field is read only for everyone except 2 groups

New user1212
Tera Contributor

Hey, I've created a new field in the form and I want it to be read only to everyone but that two groups can have access to filter this field - it's a reference. I want to create an acl for this case but I don't know the best way to do it. What would be the best way?

6 REPLIES 6

I shouldn't create a new role here. It's just a matter of creating a read-only option for all but two groups.

@New user1212 

You can write a script in write ACL and set answer=true; if( gs.getUser().isMemberOf(''assignment_group1") || gs.getUser().isMemberOf(''assignment_group2"));

else set answer=false;

 

Thanks