mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-08 18:06:54 +00:00
Support for group into command_line auth provider (#27355)
* Support for group into command_line auth provider * Tiny tweak --------- Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
f6dede9c78
commit
a3b30df07f
@ -175,11 +175,15 @@ When `meta: true` is set in the auth provider's configuration, your command can
|
|||||||
|
|
||||||
```txt
|
```txt
|
||||||
name = John Doe
|
name = John Doe
|
||||||
|
group = system-users
|
||||||
|
local_only = true
|
||||||
```
|
```
|
||||||
|
|
||||||
Leading and trailing whitespace, as well as lines starting with `#` are ignored. The following variables are supported. More may be added in the future.
|
Leading and trailing whitespace, as well as lines starting with `#` are ignored. The following variables are supported. More may be added in the future.
|
||||||
|
|
||||||
- `name`: The real name of the user to be displayed in their profile.
|
- `name`: The real name of the user to be displayed in their profile.
|
||||||
|
- `group`: The user group uses the value `system-admin` for administrator (this is the default) or `system-users` for regular users.
|
||||||
|
- `local_only`: The user can only log in from the local network if you set the value to `true`. If you do not define this variable, the user can log in from anywhere.
|
||||||
|
|
||||||
Stderr is not read at all and just passed through to that of the Home Assistant process, hence you can use it for status messages or suchlike.
|
Stderr is not read at all and just passed through to that of the Home Assistant process, hence you can use it for status messages or suchlike.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user