soios/os/layers/training-installer/includes.chroot/etc/polkit-1/rules.d/50-network-system.rules
2024-05-09 22:45:53 +02:00

9 lines
332 B
Text

// Connecting to a WiFi in the gnome-shell quick settings prompts for an admin
// password without this rule.
// https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7378
polkit.addRule(function (action, subject) {
if (action.id === "org.freedesktop.NetworkManager.settings.modify.system") {
return polkit.Result.YES;
}
});