I built a custom integration where you can allow or block certain dashboards on a user basis: DashBouncer. It doesn’t support HACS at the moment, but I’m working on it.
I couldn’t find a way to do it natively, hence the project.
The UI could get some love, so I’m open to suggestions.
Motivation
I was trying to find a way to limit user access in Home Assistant for dashboards without success, and found this big topic regarding RBAC for HASS from years ago: RBAC - Role Based Access Control (Users & Groups rights)
In there, there was SamAthanas/user-rbac project. Inspired by that, I built this solution without the RBAC approach, but I’m also going to push an RBAC solution there.
@wgumaa As far as I know, you can edit the visibility of a dashboard when editing it, but that won’t remove the dashboard from the side bar. The integration also allows to hide the system dashboards too.
DashBouncer is awesome. I just installed it and within minutes I finally have the control I need for the multiple devices I have throughout my home. Previously it’s been an absolute pain to individually configure each device and even then the user could do more than I wanted them to do. This restricts the dashboard they can see and the on-device configuration. Love it!
Just installed and looks like exactly what a lot of people have been asking for. I am not seeing the save button, has this been broken by recent HA updates? Anyone else seeing the same?
What is the minimal requirement for testing at the moment.
I did:
Install by HACS
Restart HA
Add Integration
Blocked Dashboard blon a specific User
Reloaded all Yank in Developer Tools
Tested in separate Window of Browser for specific User (Refresh)
No luck / success
On GitHub there are several hints about installing for backend and frontend do I need this steps for testing?
By the way there is no frontend folder as mentioned on GitHub.
Ok it works without frontend and backend code configuration. I thought I can define one default dashboard per user. But default overview page is same for each user. That was my misleading. So I have to break my dashboard into pieces therefore.
Thx for this nice Extension.
Only missing thing would be define default dashboard per user if possible.
And user groups therefore I have not to configure a each user.