Field level ACL - One field Write

ladrian1610
Tera Contributor

Hello, 

How to make a user be able to write only one specific field on a form? I want that users in say 'Management' group are able to edit solely 'approval_status' field on a form, other fields they shouldn't be able to edit. 

I understand that Field level ACL restricts this field to be created/edited/read/deleted by the role specified in the Conditions. So to achieve my goal I could create ACL for Write all the fields apart from 'approval_status' and in Conditions provide, say Admin. This, of course doesn't seem like a best practice.

1 ACCEPTED SOLUTION

ladrian1610
Tera Contributor

I got the solution. 
ACL setup:
[Write] my_table Condition/Role: 'x_role.approval_manager' 
[Write] my_table.approval_status Condition/Role: 'x_role.approval_manager' 
[Write] my_table.* Condition/Role: Admin

View solution in original post

7 REPLIES 7

Hi @ladrian1610 ,

 

Have you created field level writeACL for that field (approval_status). If no, it will not work so please explore ACL and create field level ACL.

 

Regards,

Nikhil Bajaj

Please appreciate my efforts, help and support extended to you by clicking on – “Accept as Solution”; button under my answer. It will motivate me to help others as well.
Regards,
Nikhil Bajaj

Hi, clearly that's the first thing I did.

ladrian1610
Tera Contributor

I got the solution. 
ACL setup:
[Write] my_table Condition/Role: 'x_role.approval_manager' 
[Write] my_table.approval_status Condition/Role: 'x_role.approval_manager' 
[Write] my_table.* Condition/Role: Admin