soios/os/layers/training-installer/includes.chroot/etc/polkit-1/rules.d/50-network-system.rules

10 lines
332 B
Plaintext
Raw Normal View History

2024-05-09 22:45:53 +02:00
// 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;
}
});