Commit 3dae923c authored by michael.simon's avatar michael.simon
Browse files

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

parent 1862df02
......@@ -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");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment