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

Harish KM
Kilo Patron
Kilo Patron

Hi create a Write ACL for these 2 fields 

Tablename.fieldname

casetable.worknotes

advanced script:

if(gs.getUser().isMemberOf("your group NAME")){
    answer = true;
}else
    {
        answer = false;
    }

Regards
Harish

Okay, Thanks for the response.
Let me check whether there are any existing ACL's

Hi,

The requirement was to

Update ACL(s) so that members of the assignment group assigned to a case can view and write additional comments/worknotes

 

You can add this in your existing ACL script

if(gs.getUser().isMemberOf(current.assignment_group)){
    answer = true;
}else
    {
        answer = false;
    }

Regards
Harish