mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-22 12:08:09 +00:00

From a security point of view, this is no more scary than allowing admin users to install a new kernel or glibc package.
8 lines
252 B
Plaintext
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;
|
|
}
|
|
});
|