updated polkit config

This commit is contained in:
Luc Bijl 2023-04-20 11:30:49 +02:00
parent e29748289b
commit 817a0ab4d3
2 changed files with 6 additions and 7 deletions

View file

@ -0,0 +1,5 @@
polkit.addRule(function(action, subject)
{
if (action.id.startsWith("org.freedesktop.udisks2.") && subject.isInGroup("wheel"))
return polkit.Result.YES;
});

View file

@ -8,10 +8,4 @@ polkit.addRule(function(action, subject)
{
if (action.id == "org.freedesktop.policykit.exec" && action.lookup("program") == "/bin/zzz" && subject.isInGroup("wheel"))
return polkit.Result.YES;
});
polkit.addRule(function(action, subject)
{
if (action.id.startsWith("org.freedesktop.udisks2.") && subject.isInGroup("wheel"))
return polkit.Result.YES;
});
});