How to give write access to specific field on form

Prasad43
Tera Guru

Hello Friends,

I have a requirement to give write access to a specific field on form.

I have created three acls for a role

1. Write --> table name --> --None--

2.Write --> table name --> *

3.write -- >table name --> field_name

But the user is able to write all the fields. Can you please correct me if I am doing wrong.

Thanks

Prasad

1 ACCEPTED SOLUTION

Pranay Tiwari
Kilo Guru

Hi,

 

You need to make 4 ACL to complete this task.

1st step > table_name.none (operation=read) {give 2 role A & B}

2nd step > table_name.none (operation=write) {Role = A & B}

3rd step > table_name.field_name (operation=write) {Role = A}      [field_name=select name of the field that you want in write mode.]

4th step > table_name.* (operation=write) {Role = B}

 

After complete this , give Role A to the Group or User whom you want to show one field in write mode.

 

Mark correct or helpful if it helps you.

 

 Warm Regards,

Pranay Tiwari

 

View solution in original post

18 REPLIES 18

UI policies are client side restriction and ACL are server side. Always use server side for enforcing restriction and ensuring data integrity.

Apurva Malewad1
Kilo Guru

Hi prasadk,

I guess no need to give Table.* acl because you want to give access to field level.

So just have 2 ACL's Table.None and Table.field then it will work.

 

Mark correct/Helpful if it helps you.

 

Thanks,

Apurva Malewadikar

www.DXSherpa.com

Hi Apurva, 

 

Tried with two acls, Not worked.

 

akshayjain
Tera Expert

1. Right click at top of the form, select configure > security rules. 

2. Some ACLs will be there already. Select the one which has 'Write' operation.

3. Now Add your roles in this ACL. and save it.

 

Make Sure that there are no other ACLs conflicting this ACL.

Pranay Tiwari
Kilo Guru

Hi,

 

You need to make 4 ACL to complete this task.

1st step > table_name.none (operation=read) {give 2 role A & B}

2nd step > table_name.none (operation=write) {Role = A & B}

3rd step > table_name.field_name (operation=write) {Role = A}      [field_name=select name of the field that you want in write mode.]

4th step > table_name.* (operation=write) {Role = B}

 

After complete this , give Role A to the Group or User whom you want to show one field in write mode.

 

Mark correct or helpful if it helps you.

 

 Warm Regards,

Pranay Tiwari