Hi Patrick,

you can just let V and E extend ORestricted ;-)

Luigi


2015-03-18 13:52 GMT+01:00 Patrick Hoeffel <[email protected]>:

> 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
> object hierarchy, right? What do you recommend in cases such as mine?
> Should I rebuild my object hierarchy so that all classes derive from
> ORestricted, ignoring V and E? Are there special powers associated with V
> and E that I would lose in such a case?
>
> Thanks very much!
>
> Patrick
>
>
> On Tuesday, March 17, 2015 at 9:50:35 AM UTC-6, 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.

Reply via email to