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

**URL:** <https://forum.mautic.org/t/can-you-hide-left-panel-options-based-on-user-role-with-plugin/11088>\
**Category:** Product Support\
**Created:** [September 7, 2019, 1:12pm UTC](https://forum.mautic.org/t/can-you-hide-left-panel-options-based-on-user-role-with-plugin/11088 "2019-09-07T13:12:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aditya](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/aditya/32/494_2.png) [@aditya](https://forum.mautic.org/u/aditya)\
**Post date:** [September 7, 2019, 1:12pm UTC](https://forum.mautic.org/t/can-you-hide-left-panel-options-based-on-user-role-with-plugin/11088/1 "2019-09-07T13:12:25Z")

</div>

**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](https://developer.mautic.org/?&_ga=2.116098112.756951938.1567839370-1788027718.1567588044#extending-campaigns)

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [January 25, 2021, 8:53pm UTC](https://forum.mautic.org/t/can-you-hide-left-panel-options-based-on-user-role-with-plugin/11088/2 "2021-01-25T20:53:01Z")

</div>


