Hi Rob, you could just define a new hook that just tracks the information you need. You can start just copy/pasting ORestrictedAccessHook
Luigi 2015-03-19 15:28 GMT+01:00 Rob Gratz <[email protected]>: > I checked the _allow field and it does have the owner, but I am also using > that field to implement hierarchical access to data so that field has more > than just the owner. It has the owner and all of the owner's parents so > not an easy way to determine which in fact is the owner of the data. Any > other way I can get the owner? > > > On Tuesday, March 17, 2015 at 8:50:35 AM UTC-7, Luigi Dell'Aquila wrote: >> >> Hi Rob, >> >> if your class extends ORestricted, the owner is tracked in one of the >> following fields: >> >> _allow >> _allowRead >> _allowUpdate >> _allowDelete >> >> >> >> 2015-03-17 16:39 GMT+01:00 Rob Gratz <[email protected]>: >> >>> Is there a way to obtain which user created or owns a record? >>> >>> -- >>> >>> --- >>> 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. >>> >> >> -- > > --- > 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. > -- --- 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.
