updated polkit config
This commit is contained in:
parent
e29748289b
commit
817a0ab4d3
2 changed files with 6 additions and 7 deletions
5
config-files/polkit/00-mounting.rules
Normal file
5
config-files/polkit/00-mounting.rules
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
polkit.addRule(function(action, subject)
|
||||||
|
{
|
||||||
|
if (action.id.startsWith("org.freedesktop.udisks2.") && subject.isInGroup("wheel"))
|
||||||
|
return polkit.Result.YES;
|
||||||
|
});
|
|
@ -9,9 +9,3 @@ polkit.addRule(function(action, subject)
|
||||||
if (action.id == "org.freedesktop.policykit.exec" && action.lookup("program") == "/bin/zzz" && subject.isInGroup("wheel"))
|
if (action.id == "org.freedesktop.policykit.exec" && action.lookup("program") == "/bin/zzz" && subject.isInGroup("wheel"))
|
||||||
return polkit.Result.YES;
|
return polkit.Result.YES;
|
||||||
});
|
});
|
||||||
|
|
||||||
polkit.addRule(function(action, subject)
|
|
||||||
{
|
|
||||||
if (action.id.startsWith("org.freedesktop.udisks2.") && subject.isInGroup("wheel"))
|
|
||||||
return polkit.Result.YES;
|
|
||||||
});
|
|
Loading…
Reference in a new issue