WTH: i disable tab visibility to a user but it still is visible

So i wanted to give home assistant access to my child but only her room. So i made a user for her and disabled all other tabs for her but every time i start the home assistant app my overview page appears and she can control almost everything. If i click on her room then it dissapears until i close the app. When i start it again the overview page is there again. I use the android companion. What can i do about it?

Vote for your own wth!

How did you do this?

Custom Header?

If so, create a separate dashboard with the only view you want. Assign it to your daughter’s profile on the device.

Configure UI - Edit view - Visibility and there you can select which users see the view in the navigation.

I read the release notes religiously yet things like this still slip by me. :roll_eyes:

My suggestion of using a second dashboard would still work if you want something to use until this is fixed.

I have never tried making a second dashboard but i will look into it. The visibility option works just fine for my wife. For her i have disabled some configuration tabs that she does not need. I think that the problem is with the first tab. If i change the firts tab then the first tab will apear at the app start.

Yea this is why I ended up making a separate dashboard for each client.
On first load it would always show the full default dashboard and like you said my daughter could run a muck throughout the entire house.

At the moment it always loads your first / default view, regardless of visibility settings. There is a PR in the works to fix that here: https://github.com/home-assistant/frontend/pull/6567

Having a different dashboard for your child is the workaround until that gets merged. You can do that under Configuration -> Lovelace Dashboards. Since you already have a Lovelace view for your daughters room, you can enter “Raw configuration editor” and copy/paste the contents of that view into your new dashboard rather than recreating it.

2 Likes

I created a new dashboard and copied her stuff over. But how do i assign her to see it? Visibility settings?

On your daughters device, you would go to her profile page (the very last option in the bottom of sidebar) and then change the default dashboard there.

This is a device-specific setting, so if she has a phone and tablet for example, you’d have to do it on both.

2 Likes

Thank you very much for your help! Everything is working like a charm now.

The PR https://github.com/home-assistant/frontend/pull/6567 has been merged mid of September so this can be marked as solved I think.