Re: [orientdb] Determine record owner?

2015-03-19 Thread Luigi Dell'Aquila
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 : > I checked the _allow field and it does have the owner, but I am also using > that field to implement hierarc

Re: [orientdb] Determine record owner?

2015-03-19 Thread Rob Gratz
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

Re: [orientdb] Determine record owner?

2015-03-18 Thread Luigi Dell'Aquila
Hi Patrick, you can just let V and E extend ORestricted ;-) Luigi 2015-03-18 13:52 GMT+01:00 Patrick Hoeffel : > Luigi, > > If my classes all extend from V or E (which they do, as is expected for > graphs), then how can these records be secured? I could add those 4 > properties to the V and E

Re: [orientdb] Determine record owner?

2015-03-18 Thread Patrick Hoeffel
Luigi, If my classes all extend from V or E (which they do, as is expected for graphs), then how can these records be secured? I could add those 4 properties to the V and E base classes, but I assume that the security infrastructure expects there to be a class called "ORestricted" in the objec

Re: [orientdb] Determine record owner?

2015-03-17 Thread Luigi Dell'Aquila
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 : > Is there a way to obtain which user created or owns a record? > > -- > > --- > You received this message because

[orientdb] Determine record owner?

2015-03-17 Thread Rob Gratz
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 orient-database+unsubscr...@googlegroups.com. For