Sign in
chromium
/
chromiumos
/
third_party
/
fwupd
/
refs/heads/stabilize-13816.51.B
/
.
/
policy
/
org.freedesktop.fwupd.rules
blob: 651d4e355a58de07be1beb4e0f838986228e285a [
file
] [
log
] [
blame
]
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
;
}
});