Fix creation of security policies during EE restore
@@ -477,7 +477,7 @@ public class OSecurityShared implements OSecurityInternal {
@Override
public void saveSecurityPolicy(ODatabaseSession session, OSecurityPolicy policy) {
- session.save(policy.getElement());
+ session.save(policy.getElement(), OSecurityPolicy.class.getSimpleName().toLowerCase(Locale.ENGLISH));
}
@Override
