Hi Andrey,
I did it. In Attachment there's an db export.
Please import it into an empty db and check "myclass".

In screenshot test1.png you can see the insert of a new record.
In screenshot test2.png you can see the "select" result.
Finally test3.png is what happen after import into a new db.

Hope everything's clear.

Thanks
Luca



Il giorno venerdì 23 gennaio 2015 08:50:13 UTC+1, [email protected] ha 
scritto:
>
> Hello everybody,
> I'm using v. 2.0.
> I've got a class configured as follow:
> "ALTER CLASS V superclass ORestricted"
> "ALTER CLASS TEST custom onCreate.identityType=role"
> "ALTER CLASS TEST custom onCreate.fields=_allowDelete,_allowUpdate"
> Everything works as supposed! If I insert a new record _allowDelete and 
> _allowUpdate fields will be populated but _allow won't.
>
> But if I export the db and then I import it into a new one, all records 
> will have _allow populated with importer user!
>
> Thanks
> Luca
>

-- 

--- 
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.

Attachment: test.json
Description: Binary data

Reply via email to