LPS-43227 When the message is a discussion we need to check if we have permission in the parent entity.