gnome-control-center/panels/lock
Ludovico de Nittis 520ca91fe8 lock: Add USB protection entry
In the screen lock tab we add a "Forbid new USB devices" entry with a
switch to enable or disable said protection.

The actual USB protection is handled by gnome-settings-daemon and
USBGuard.

We use the "Available" property of gnome-settings-daemon to check
if we are able to offer the USB protection (i.e. USBGuard is
installed with the minimum required version ecc..).
If the host doesn't met the requirements we hide the USB
protetion row entirely.

Given the fact that the always on protection benefits are very slim we
decided to give just an on/off switch that by default controls the
"with lock screen" protection level.
2020-05-28 10:01:24 +02:00
..
cc-lock-panel.c lock: Add USB protection entry 2020-05-28 10:01:24 +02:00
cc-lock-panel.h Add a lock panel 2019-11-07 14:40:07 +13:00
cc-lock-panel.ui lock: Add USB protection entry 2020-05-28 10:01:24 +02:00
gnome-lock-panel.desktop.in.in Make privacy a valid search term to find the Privacy panels 2020-04-06 23:08:22 +00:00
lock.gresource.xml Add a lock panel 2019-11-07 14:40:07 +13:00
meson.build Add a lock panel 2019-11-07 14:40:07 +13:00