authentication: auto reload users
authorSven Rademakers <sven.rademakers@gmail.com>
Fri, 3 Nov 2023 13:30:34 +0000 (13:30 +0000)
committerSven Rademakers <sven.rademakers@gmail.com>
Fri, 3 Nov 2023 14:50:17 +0000 (14:50 +0000)
commit590fff7419dbb3e2433417982c42d97ab0449a2f
treec1f0195c832c80961c2a664a7408900a756f1413
parent968264b21eaf5b8ca153ce8e5e0a5302843c67cc
authentication: auto reload users

Reload the internal cache when an users are added or removed. This
prevents granting stale users access the API + UI.

Implementation is based on `inotify` subsystem.
Cargo.lock
Cargo.toml
src/authentication/authentication_context.rs
src/authentication/linux_authenticator.rs