testNode.setPermission(USER_ROOT, new String[]{"read", "add_node", "set_property", "remove"});
testNode.removePermission(IdentityConstants.ANY);
session.save();
//let us make node version
testNode.checkin();
testNode.checkout();
session.save();
//now let us try to grant all permissions for any user