Project

General

Profile

Revision 845ce635

ID845ce635e9b6628bb0695157a6b820450c9e4091
Parent 44b9dbd2
Child 1ad8f694

Added by Andreas Kohlbecker over 2 years ago

ref #7359 reverting change applied in 9239e1b and avoiding granting UPDATE,DELETE for existing nom-references

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/view/name/TaxonNameEditorPresenter.java
315 315
        }
316 316
        referenceEditorPopup = getNavigationManager().showInPopup(ReferencePopupEditor.class, getView());
317 317

  
318
        referenceEditorPopup.grantToCurrentUser(EnumSet.of(CRUD.UPDATE, CRUD.DELETE));
319 318
        referenceEditorPopup.withDeleteButton(true);
320 319
        referenceEditorPopup.setBeanInstantiator(newReferenceInstantiator);
321 320
        referenceEditorPopup.loadInEditor(event.getEntityUuid());
src/main/java/eu/etaxonomy/vaadin/mvp/AbstractCdmEditorPresenter.java
81 81
            // CdmAuthority is needed before the bean is loaded into the session.
82 82
            // otherwise adding the authority to the user would cause a flush
83 83
            cdmEntitiy = loadCdmEntity(uuidIdentifier);
84
            guaranteePerEntityCRUDPermissions(cdmEntitiy);
84 85
        } else {
85 86
            cdmEntitiy = loadCdmEntity(null);
86 87
            if(cdmEntitiy != null){

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)