Commit 9c42194e authored by michael.simon's avatar michael.simon
Browse files

Don't change registry status from ON_HOLD to LOST_ACCESS

If access with rule check is denied, don't change status from ON_HOLD to
parent cffb2058
......@@ -260,7 +260,8 @@ public class KnowledgeSessionServiceImpl implements KnowledgeSessionService {
if (registry != null) {
ServiceRegisterEvent serviceRegisterEvent = new ServiceRegisterEvent(registry);
if (RegistryStatus.LOST_ACCESS.equals(registry.getRegistryStatus())) {
if (RegistryStatus.LOST_ACCESS.equals(registry.getRegistryStatus()) ||
RegistryStatus.ON_HOLD.equals(registry.getRegistryStatus())) {
if (hasAccess(objectList)) {
registry.setLastStatusChange(new Date());
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