field is read only for everyone except 2 groups
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2022 03:17 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2022 03:47 AM
I shouldn't create a new role here. It's just a matter of creating a read-only option for all but two groups.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2022 03:53 AM - edited ‎11-23-2022 03:54 AM
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