Old format of role for documents was restored.
Merge branch 'develop' of github.com:orientechnologies/orientdb into develop