HaAuth.Access (ha_auth v0.1.0)

Copy Markdown View Source

Who may sign in: HA admins always, other HA users when their id is in config :ha_auth, :allowed_users. Checked at sign-in and again on every request and LiveView mount, so dropping someone locks them out at once.

Summary

Functions

Session user map (%{"id", "name", "admin"}) may use the app?

Functions

can_sign_in?(arg1)

Session user map (%{"id", "name", "admin"}) may use the app?