Revision 845ce635
Added by Andreas Kohlbecker about 5 years ago
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
ref #7359 reverting change applied in 9239e1b and avoiding granting UPDATE,DELETE for existing nom-references