void-desktop/config-files/polkit/00-mounting.rules

5 lines
159 B
Text
Raw Normal View History

2023-04-20 11:30:49 +02:00
polkit.addRule(function(action, subject)
{
if (action.id.startsWith("org.freedesktop.udisks2.") && subject.isInGroup("wheel"))
return polkit.Result.YES;
});