I am trying to apply ACL on dictionary table in which user with particular role should see attribute field as readonly and all the fields should be write only [Please see description ]

Anil Jha
Kilo Contributor

User with particular role should be able to write all the fields except attribute field on dictionary table attribute field should be readonly 

find_real_file.png

ACL which I have written :

Read :Table.none

Write:Table.none

Write:Table.*

Write: Table.field : answer=false;

 

Output I am getting 

find_real_file.png

1 ACCEPTED SOLUTION

Hi,

Please create one more ACL for read Operation like below:

find_real_file.png

Note: It should be having the new role as per your configuration.

 

Thanks,

Anil Lande

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

View solution in original post

8 REPLIES 8

Jan Cernocky
Tera Guru

Hi Anil,

first step, for read you need one more rule table.*

Check out this article, since there are already some ACLs defined for sys_dictionary.* it prevents you from viewing the records if you don't have another table.* rule for a particular role

I don't have anyother table.* rule for particular role

Shreya Kaushik1
Mega Guru

Hey Anil,

 

You just have to create a Write ACL on sys_dictionary as follows:

 

find_real_file.png

And write this script :

find_real_file.png

 

I took ITIL as an example, you replace this with your role and try testing this.

 

Please let me know if this works for you or you need any further help.

 

Please mark helpful if that solves your purpose.

 

Regards,

Shreya

It's not working