core/udisks2/10-enable-mount.rules
2014-01-03 22:35:41 +00:00

6 lines
184 B
Plaintext

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