How to show/hide view to specific user?

I want to hide or show to specific user.
I tried using visible option which just added to lovelace in v0.101.0 but no success.

CCH can hide or show views per user:

1 Like

OK, now I figure out how to use

views:
  - title: Bedroom
    visible: 
      - user: abasdfasdfasduiewh5wer448e
    cards:

abasdfasdfasduiewh5wer448e is the user id that can be found in Configuration>Users
This feature only show/hide the view from user so every user can access all view if they have url of the view.

This works fine for me and anyone that doesn’t concern much about security.

3 Likes

Correct. This is not meant for security.