How to hide some elements from sidebar view?

In my application, I have to grant some accesses for users, so basically, I have to hide/show some submenus according to user’s role. Does sidebar view have such a method/property?

Hello @Yryskul,
As a solution, you can use a filter that will show/hide certain positions.
Please take a look at this example:
https://snippet.webix.com/jey9r2iu
Please note that for hierarchical structure you need to change filterMode.

@annazankevich Thanks.