updated polkit config
This commit is contained in:
parent
e29748289b
commit
817a0ab4d3
2 changed files with 6 additions and 7 deletions
|
@ -1,17 +0,0 @@
|
|||
polkit.addRule(function(action, subject)
|
||||
{
|
||||
if (action.id == "org.freedesktop.policykit.exec" && action.lookup("program") == "/bin/shutdown" && subject.isInGroup("wheel"))
|
||||
return polkit.Result.YES;
|
||||
});
|
||||
|
||||
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;
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue