Restrict user access

Can I restrict user access to specific views in Home Assistant?

I have created a “guest” account and I only want to give access to the “Guest Dashboard.” So, I created a second dashboard (with a new view) called “Guest” under /config/lovelace/dashboards/, and created a “Guest” user under /config/person/ (with admin rights turned off).

Under the default dashboard, I have unchecked the “Guest” user in the visibility settings for all views.

However, the guest user can still access other views and dashboards via the direct links.

I also want the guest user to not see menu options like MAP, ENERGY, LOGBOOK, HISTORY, and MEDIA.

How does user management work, and how can I configure this correctly (should this be done via the config.yaml file)?

Thx, so this i not default working in HA?

Login as the guest, on the profile

Remove all the sidebar items you don’t want the guest to see.

Since 2025.6, this is stored in the user profile.

Better then nothing.

1 Like