HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2011-05-20 064001b4807c573cd124a5bda0d30e3f56fc3084
pac update unterbinden
1 files modified
7 ■■■■■ changed files
hsarback/src/de/hsadmin/mods/pac/PacModuleImpl.java 7 ●●●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/pac/PacModuleImpl.java
@@ -10,6 +10,7 @@
import de.hsadmin.core.model.AbstractEntity;
import de.hsadmin.core.model.AbstractModuleImpl;
import de.hsadmin.core.model.AuthorisationException;
import de.hsadmin.core.model.HSAdminException;
import de.hsadmin.core.util.TextUtil;
import de.hsadmin.mods.cust.Contact;
@@ -97,5 +98,11 @@
        admin.setUserId(nUID);
        return super.add(newEntity);
    }
    @Override
    public AbstractEntity update(AbstractEntity existingEntity)
            throws HSAdminException {
        throw new AuthorisationException(getLoginUser(), "update", existingEntity);
    }
    
}