I want to show and hide comments based on user type in the customer portal. We have an internal team and external users(clients). Every user is added to the contacts table. I want to display ALL the customer's comments on the case-edit form however when it comes to internal team comments I want to expose only specific comments to the customer and hide such comments where the internal team is discussing the case. Basically, I do not want to expose the Internal team's communication to the client. The Internal members should be able to see all comments.
I have given the Support Agent web role to internal team members and the Customer Role web role to external users(clients). Screenshots attached.
Is there any possible workaround using out-of-the-box features or complete customization must be done? @OliverRodrigues has mentioned a way to access the comment modal that opens in the form. However, more guidance will be highly appreciated!