How to restrict access with ACL to a field referenced from other table?

Linda6
Mega Guru

Hi Community,

I would like to ask for advice. I need to restrict access to a certain group of users to 3 fields on the SCTASK form, which are a reference to the parent RITM. However, in the ACL's dropdown for the field, I cannot find these fields.

What are the steps that are to be taken in such case, please?

Thank you for any suggestions..

Here are the fields:

sctask1.pngsctask2.png

1 REPLY 1

Sandeep Rajput
Tera Patron
Tera Patron

@Linda6 Since these are dot walked fields, which are available on the Requested Item table, hence you will have to define the read ACLs on the Requested Item table and not on the SC Task table.

 

Screenshot 2023-05-15 at 11.56.56 PM.pngScreenshot 2023-05-15 at 11.56.19 PM.pngScreenshot 2023-05-15 at 11.55.34 PM.png

 

Using the script field, you can block the access of a user if they belong to a specific group.

 

answer=false;
if(!gs.getUser().isMemberOf('XYZ')){
answer=true;
}

Hope this helps.