#BonitaStudio 7.10 groovy

BonitaStudio 7.10 - object accès restricted

Hello everyone,
I have migrate a process in 7.6.4 to 7.10.
But i have lot of error in my groovy code. The error is :

Restriction d’accès : Le type User n’est pas accessible en raison d’une restriction pesant sur la bibliothèque requise C:\BonitaStudioCommunity-7.10.0\plugins\org.bonitasoft.studio.console.libs_7.10.0\lib\bonita-common.jar

For example, i can't do something like that now:

import org.bonitasoft.engine.identity.User

List users = new ArrayList();
return users;