Hello,
I have a graph setup like this

Profiles ---members_of--> Groups --part_of--> PermSets (Permission Sets) --
may_read--> Accounts
                                                                         --
may_read--> Groups

So I want to look to see which resources, Accounts or Groups, a Profile can 
access. I have this query. It looks for all Accounts that the user can see.
WITH profiles, groups, permsets, accounts, spaces
FOR v,e,path IN 1..3 OUTBOUND 'profiles/mobilegateway' 
    may_read,part_of, member_of
    FILTER LIKE(path.vertices[3]._id, 'accounts%')
    RETURN v

I'm not a huge fan of the LIKE filter. Is there a way that I can say where 
the data is in the 'accounts' collection? More of a generalized Shortest 
path.

Thanks,
JPD

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to