you can call a parent's permissions method from the child, though if you're not already eager loading the whole chain it can be a bit slow.
for your floor example for instance: def update_permitted? building.organization.updatable_by?(acting_user) end -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/hobousers/-/hL4wAtbcs1cJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
