core/udisks2/10-enable-mount.rules
2015-01-18 14:51:44 +00:00

7 lines
177 B
Plaintext

polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.udisks2.filesystem-mount-system" &&
subject.isInGroup("storage")) {
return polkit.Result.YES;
}
});