mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-18 21:11:54 +03:00
update config
This commit is contained in:
parent
ed9d031e80
commit
13cef51133
@ -16,6 +16,10 @@ class HeaderMappingConfig(FrigateBaseModel):
|
|||||||
default=None,
|
default=None,
|
||||||
title="Header name from upstream proxy to identify user role.",
|
title="Header name from upstream proxy to identify user role.",
|
||||||
)
|
)
|
||||||
|
role_map: Optional[dict[str, list[str]]] = Field(
|
||||||
|
default_factory=dict,
|
||||||
|
title=("Mapping of Frigate roles to upstream group values. "),
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class ProxyConfig(FrigateBaseModel):
|
class ProxyConfig(FrigateBaseModel):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user