Testing field to read only using ACL

AtifS
Tera Contributor

Hello,

I created a new table with 4 new fields. Using ACL I granted Create, Read and Write to a specific role.

Now I would like to make field 2 read only and allow the User to edit fields 1, 3 and 4.

Can anyone help me do this using just ACL as that is the condition set for me. 

1 ACCEPTED SOLUTION

J Siva
Tera Sage

Hi @AtifS 

Create a field-level write ACL on the new table with the role set to 'nobody'. This will ensure that no one can edit the field, making it read-only.

Regards,

Siva

View solution in original post

5 REPLIES 5

J Siva
Tera Sage

Hi @AtifS 

Create a field-level write ACL on the new table with the role set to 'nobody'. This will ensure that no one can edit the field, making it read-only.

Regards,

Siva

AtifS
Tera Contributor

@J Siva This helped but instead of nobody i just gave the access to admin, but thank you I was searching for an answer all day Sunday. Much appreciated 

@AtifS  Glad it helped.

Appli
Mega Sage
Mega Sage

Hi, is ACL mandatory there? you may consider marking this field on dictionary level as read-only, if this is a requirement.

 

Hope it helps