I'm trying to implement an access control graph. An account can be a member of a team that belongs one or more roles with are in turn associated with an entity. Each assoicated_with relationship has an associated permissions property, which is an arr...