Sorry for my late reply. I do use custom header, but I was told I couldn’t create a custom dashboard and link it to a specific user only? Now I just hide tabs from that second user in custom header.
If you actually are able to do what I originally wanted, I would be quite happy if you could shade your custom header configuration
Correct, you can’t, to a bunch of my own frustration. What you can do, however is take control of that dashboard and then clear out everything from it. You can then create different tabs (views) that have restricted access. When someone logs in they’ll fall to the first view that they have access to.
So, here’s the process that I used to do something like you’re asking for:
Navigate to and create a new dashboard and mark it admin only. I called my admin-overview this way I still have an auto-generated everything dashboard, though in my case that’s pretty useless now days because of how many entities I have
Go to your overview dashboard and press the triple dot menu in the upper right and select edit dashboard. If you have not taken control of this dashboard yet you will be prompted to take control and optionally start with an empty dashboard. NOTE doing this causes the dashboard to stop being auto-generated (which is why we created a new auto-generated board in the previous step, though that could be done later as or skipped)
In your newly taken over dashboard you will only have one view currently, you can add more views by pressing the ‘+’ at the top. In any case, select the edit (pencil) icon next to the current view’s name (default’s to home generally). On the pop up, select the visibility tab. All users that are defined as being allowed to login will by default have access to the view, just turn off the ones you don’t want to have access.
Make edits to your view as needed
Make new views, and make sure that at least one view is accessible by everyone that has login rights because people will always land on the Overview page when they first login from a given device and you want to make sure that they have something to interact with!
I have wallmounted touchscreens that have cameras. They usually stay logged in under the same user etc. is there a card or something that i can enable when i have guests over that will lock the dashboard so people can’t mess with it? I can lock the windows machine sure but is there a way to do this in lovelace?
So, its impossible to lock the access of an user to settings right? They can always un-hide the views they want and access it.
In the pov of a company that´s selling a service to a client, for exemple and block him to screw around the Settings etc…
I have had the same issue and I may have found a solution. Even though you posted this question a long time ago, I still wanted to post my solution for users.
As administrator you can can edit the code of a dashboard.
Go Dashboard - Edit dashboard - Raw configuration Editor
it should look something like this:
title: Titledashboard
views:
#Tab 1
- Theme
Title
Icon
visible:
- user: Some long code like "12b3hjbdbshje77giehrbfbbf4446h"
- user: #some long code 2
- user: #some long code 3
#Tab 2
you can put the same “visible” string under dashboard for the same effect:
title: Titledashboard
visible:
- user: Some long code like "12b3hjbdbshje77giehrbfbbf4446h"
- user: #some long code 2
- user: #some long code 3
views:
#Tab 1
#Tab 2
Users not mentioned under “visible” wont be able to see any of views within the dashboard and, as long as they are no administrator, they are not able to change that logging into another device.