Actions
bug #6886
closedEntity creation for users having only CREATE may fail in long running conversations
Start date:
Due date:
% Done:
0%
Estimated time:
Severity:
normal
Found in Version:
Description
I observed the following problems while implementing the ExtendedCreatePermissionManager for #6867
when this sequence is used (snipped from CdmStore.java):
T mergedBean = mergedBean(bean);
repo.getCommonService().save(mergedBean);
session.flush();
the flush causes the bean being saved a second time, since hibernate assumes that the entity is dirty and schedules a save operation. For this save the user would need the UPDATE permission, and the save operation fails.
Related issues
Updated by Andreas Kohlbecker almost 7 years ago
- Subject changed from entity creation for users havon only CRATE may fail in long running conversations to entity creation for users havon only CREATE may fail in long running conversations
Updated by Andreas Kohlbecker almost 7 years ago
- Related to feature request #4305: newly created entities must stay editable even if a user only has the permission to create them added
Updated by Andreas Kohlbecker almost 7 years ago
- Related to feature request #6867: explicitely assign and revoke UPDATE & DELETE permission per enitity in the registration workflow added
Updated by Andreas Müller almost 7 years ago
- Subject changed from entity creation for users havon only CREATE may fail in long running conversations to Entity creation for users having only CREATE may fail in long running conversations
Updated by Andreas Kohlbecker almost 7 years ago
I attempted to write a test to reproduce this issue but had other problems which prevented me from completing this test class.
Updated by Andreas Kohlbecker almost 7 years ago
- Related to bug #6885: UserService.loadUserByUsername() cannot find user in long running session added
Updated by Andreas Kohlbecker almost 7 years ago
- Is duplicate of bug #7021: CREATE permission not sufficient to save new TaxonName entity added
Updated by Andreas Kohlbecker almost 7 years ago
- Status changed from New to Duplicate
- Target version deleted (
Unassigned CDM tickets)
This is a duplicate of #7021 which meanwhile provides more details.
Actions