Skip to content
Snippets Groups Projects
Commit 3dae923c authored by Michael Simon's avatar Michael Simon
Browse files

Always check registry again, even if user was not updated.

parent 1862df02
No related branches found
No related tags found
No related merge requests found
......@@ -73,10 +73,10 @@ public abstract class AbstractDeregisterRegistries extends AbstractExecutableJob
}
}
}
List<RegistryEntity> tempRegistryList = new ArrayList<RegistryEntity>();
tempRegistryList.add(registry);
knowledgeSessionService.checkRules(tempRegistryList, user, "lost-access-reg-job", false);
}
List<RegistryEntity> tempRegistryList = new ArrayList<RegistryEntity>();
tempRegistryList.add(registry);
knowledgeSessionService.checkRules(tempRegistryList, user, "lost-access-reg-job", false);
if (RegistryStatus.LOST_ACCESS.equals(registry.getRegistryStatus())) {
registerUserService.deregisterUser(registry, "lost-access-reg-job");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment