Can you hide left panel options based on user role with Plugin?

Your software
My Mautic version is: 2.15.2
My PHP version is: PHP 7.2.19-0ubuntu0.18.04.2 (cli) (built: Aug 12 2019 19:34:28) ( NTS )

Your problem
My problem is: I would like to hide certain options such as Channels from left panel in dashbaord based on user role. Is that possible by creating a plugin which would listen to some kind of event or extend the core view template and add a functionality to check user role and hide them ?

These errors are showing in the log:

Steps I have tried to fix the problem:

I have tried going through the docs and see if there is some kind of event which would execute a function and allow to access the in response view and replace it .

I was trying to relate to following
https://developer.mautic.org/?&_ga=2.116098112.756951938.1567839370-1788027718.1567588044#extending-campaigns