9 lines
327 B
Plaintext
9 lines
327 B
Plaintext
polkit.addRule(function(action, subject) {
|
|
if ((action.id == "org.freedesktop.udisks2.filesystem-mount-system" ||
|
|
action.id == "org.freedesktop.udisks.filesystem-mount-system-internal") &&
|
|
subject.local && subject.active && subject.isInGroup("users"))
|
|
{
|
|
return polkit.Result.YES;
|
|
}
|
|
});
|