I have an object called ACL (Access Control List) for every row. It
contains a mapping of every user's permissions to the object in the format
*USER_ID_OR_*_FOR_ALL:
{read:true/false, write:true/false}*
For example,
{"*":{"read":true},"mYeA6ISbP6":{"read":true,"write":true}}
I'm wondering what the optimal way of indexing this column is in OrientDB
such that I can query very quickly for objects with *ACL.*.read = true OR
ACL.mYeA6ISbP6.read = true*.
My reading tells me to set it up as an EMBEDDEDMAP with linked type
EMBEDDEDMAP as well. Then, set up an index as NOTUNIQUE_HASH_INDEX. Is this
right/optimal?
Thanks in advance!
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" 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.