ACL CSM resolution note script

JordyZ
Mega Sage

Hi,

 

I have made a read-only ACL for the resolution notes so that contacts can view the notes on the portal when CSM case is in "Resolved". 

 

JordyZ_0-1700582471583.png

JordyZ_1-1700582510771.png

Right now the issue is that a contact can view any case's resolution note. I'd like to make it so the contact can only view the resolution notes of his own case. How do I do this?

 

Thanks in advance.

 

 

2 REPLIES 2

Sandeep Rajput
Tera Patron
Tera Patron

@JordyZ Add a the following condition in your ACL and check if it works for you.

 

Screenshot 2023-11-21 at 11.11.36 PM.png

Created by is javascript:gs.getUserName()

Hi @Sandeep Rajput , thanks for your reply!

 

The contact is not always the same person as Created by. In the end I went with this:

JordyZ_0-1700589264561.png