}
private PermissionsManager createPermissionsManager() {
UserManager users = manager.getUserManager();
PermissionsStorage storage = new PermissionsFileStorage(ProjectFolders.getPermissionsFolder(rootDirectory));
PermissionsManager mgr = new PermissionsManager(project, storage, new ProjectDependenciesImpl(), users);
mgr.addEntityPermissionsListener(new EntityPermissionsListener() {
@Override
public void permissionsChanged(final IntegrationEntity entity) {
IntegrationProjectLock.acquire();
try {