mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 01:37:23 +00:00
add quotes to IPv6 addresses for trusted_users (#9127)
This commit is contained in:
parent
968e7cccca
commit
6ad81402bd
@ -108,13 +108,15 @@ homeassistant:
|
||||
192.168.0.0/24:
|
||||
- user1_id
|
||||
- user2_id
|
||||
fd00::/8:
|
||||
"fd00::/8":
|
||||
- user1_id
|
||||
- group: system-users
|
||||
```
|
||||
|
||||
First note, `trusted_users` configuration need you use `user id`, you can find it through Configuration -> Users -> View User Detail. The `trusted_users` configuration will not validate the existing of the user, so please make sure you have put in correct user id by yourself.
|
||||
|
||||
Second note, a trusted user with an IPv6 address must put the IPv6 address in quotes as shown.
|
||||
|
||||
In above example, if user try to access Home Assistant from 192.168.0.1, they will have only one user available to choose. They will have two users available if access from 192.168.0.38 (from 192.168.0.0/24 network). If they access from 192.168.10.0/24 network, they can choose from all available users (non-system and active users).
|
||||
|
||||
Specially, you can use `group: GROUP_ID` to assign all users in certain `user group` to be available to choose. Group and users can be mix and match.
|
||||
|
Loading…
x
Reference in New Issue
Block a user