fwupd/policy/org.freedesktop.fwupd.rules
Richard Hughes d08dca72f6 Allow any admin users to install system firmware without a password
From a security point of view, this is no more scary than allowing admin users
to install a new kernel or glibc package.
2015-03-11 19:55:47 +00:00

8 lines
252 B
Plaintext

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