protected boolean isUpdateAllowed(T object) { if (IdentifiableObject.class.isInstance(object)) { IdentifiableObject idObject = (IdentifiableObject) object; if (SharingUtils.isSupported(clazz)) { return SharingUtils.canUpdate(currentUserService.getCurrentUser(), idObject); } } return true; }