ubuntu-22.04.3-desktop-amd64/casper/filesystem/usr/share/polkit-1/rules.d/org.freedesktop.fwupd.rules

8 lines
251 B
Plaintext

polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.fwupd.update-internal" &&
subject.active == true && subject.local == true &&
subject.isInGroup("sudo")) {
return polkit.Result.YES;
}
});