Dot walking in ACLs using Filters is not working

Ujala
Kilo Contributor

Hi , My requirement is to allow ITIL users to set Assigned To field on DATA CERTIFICATION table and also it has to allow assigned to manager to edit assigned To field. I have created a Write ACL for ASSIGNED TO field on data certification with ROLE as ITIL and in filter conditions I have passed the conditions.First condition is working absolutely fine.But the second condition , Assignedto.manager is(dynamic)  me is not working. I tried with some script as well. But it is not working. Any help is appreciable

find_real_file.png

10 REPLIES 10

Jaspal Singh
Mega Patron
Mega Patron

Hi Ujala,

 

Since you are using Role + Filter combination can you ensure that Assigned To.Manager has 'itil' role or not. Also, instead of 'OR' try 'AND'once.

Hi Jaspal,

Thanks for the reply. Manager has ITIL role but still it is not working and also tried with AND operator then in the both cases it is showing assigned To as read-only.

In that case can you try removing the filter conditions & add below in the Script area of ACL.

answer=false;

if(current.assigned_to==gs.getUserID() || current.assigned_to.manager==gs.getUserID())
{
answer=true;
}

Initially, I tried this way with script but still it is not working for manager. AssignedTo is(dynamic) is Me is working but second condition is not working