diff --git a/regapp-as/src/main/java/edu/kit/scc/webreg/as/AttributeSourceUpdater.java b/regapp-as/src/main/java/edu/kit/scc/webreg/as/AttributeSourceUpdater.java index e0fd912fc0bc4c4c1c82b97133b3ec526cb854be..20e4e017dafea08c741638f424a1af3d2bd73d1f 100644 --- a/regapp-as/src/main/java/edu/kit/scc/webreg/as/AttributeSourceUpdater.java +++ b/regapp-as/src/main/java/edu/kit/scc/webreg/as/AttributeSourceUpdater.java @@ -73,6 +73,11 @@ public class AttributeSourceUpdater implements Serializable { ASUserAttrEntity asUserAttr = findASUserAttr(user, attributeSource); + if (attributeSource.getAsProps() != null && attributeSource.getAsProps().containsKey("disabled") + && attributeSource.getAsProps().get("disabled").equalsIgnoreCase("true")) { + return changed; + } + // Default expiry Time after for Attribute Update Long expireTime = 30000L;