Assignment Group access to work notes and additional comments

Insider
Giga Guru

The assigned group working on the cases must have access to work notes and additional comments on the case.

1 ACCEPTED SOLUTION

HI Shafi ensure there is only one write ACL on the table for worknotes. 

script:

if(gs.getUser().isMemberOf(current.assignment_group.sys_id))
    answer = true;

Refer attached screenshot for example 

1. members of group can edit and see worknotes

2. ITIL user Non member of group cannot see worknotes

Regards
Harish

View solution in original post

29 REPLIES 29

Try this

if(legalOperationsSecurity.checkUserHasRequestWriteAccess() && current.assigned_to == gs.getUserID()){
answer = true;
}

also under ACL related list you will have a option called show ACL execution plan click this to see which order this ACL is executing and check other field acls

Regards
Harish

The code didn't work.

The ACL execution plan.

Field level
sn_lg_ops_request.work_notes

When case is created and assigned to group, until then worknotes is visible. When it is assigned to someone else from same group, the worknotes is getting disappeared.

Hi just comment all advanced script and add it in ACL condition just to test what is causing this issue

Cond:

Assignmentgroup isdynamic oneOfmyGroup

Refer Attached screenshot

Regards
Harish

Hi harish,

No luck, still work notes is not visible to other members from same group. When it is assigned to self it is visible. Why is this?