I have a user who should mainly only receive messages and have access to the calendar. I was able to hide the dashboard and overview in the sidebar via the admin switch in Configuration - Dashboards. I was also only able to make Studio Code available via the admin switch in the add-on. Now, energy, activity, history, calendar, media, and to-do lists are still visible in the sidebar, whereby energy, activity, and history are not problematic but rather provide unnecessary information for the application. However, the media item gives access to all cameras and images or cards who are in the media folder.
Is there a way to hide or disable the media item for certain users?
You can “hide” stuff, but it’s not truly inaccessible.
If you don’t trust someone to have full access, don’t give them any access. There are more than 60 notification integrations, it’s very likely that there is a way to notify them through a method that doesn’t require them having the companion app or access to your HA instance.
This is not an RBAC solution, so do not take this as a security measure, but it will help you to hide the sidebar items that you want from certain users/devices.
Hi,
Thanks @elchininet for your solution. The installation is not so easy, but this is exactly what I want.
For everyone who wants to build the same, it is very important to empty your cache to see effects in your browser.