ACL is not working

harishdasari
Tera Guru

Hi,

I have created a ACL on incident table with READ permissions for a particular group. But when I impersonate the particular user from that group it is still allowing to edit. I have created a group and assigned a role to it and I have associated this role with incident read ACL. But still it is not working.I have tried to Debug the ACL, but no use. can anyone help me the process of creating ACL and stopping particular group users to edit the incident form. Without using the script can't I stop users to edit the form ?

Thanks

1 ACCEPTED SOLUTION

xiaix
Tera Guru

So you need a certain group to NOT have write access to the Incident table?


If correct, then create a new role, ex: incident_no_write and assign the user/group that role.


Then, create an ACL similar to this:


find_real_file.png


View solution in original post

7 REPLIES 7

And the operation of the ACL should also be "write"



Thanks,


Berny


Yes yes, I noticed that as well... I get slap-happy sometimes.  


Hello Xiaix,

I have a similar requirement where users with a specific role should be able to view all records in the table. I tried your solution, but it’s not working for me.

When I checked the logs, I encountered the following error:
"Invalid query detected, please check logs for details [Unknown field null in table incident]"

To troubleshoot, I attempted applying the ACL to all fields (*), which removed the error, but the ACL still does not work as expected.

Could you please help me identify what might be causing this issue?

Thanks,