I have users, groups, permissions, and volumes, with these
users HABTM groups
groups has_many permissions
permissions has_many volumes
groups has_many volumes :through => permissions
Is there an easy way to get all the volumes a user has access to? I can
always get a list of groups, loop over it, and get the volumes, but I
was hoping for something elegant like user.groups.volumes.