Skip to content
Snippets Groups Projects
Verified Commit 7d1f7ae1 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

Revert "WIP FIX: Fixing corner case of not updated List properties."

This reverts commit 2cf7e0e5.
parent 59108256
No related branches found
No related tags found
2 merge requests!58REL: prepare release 0.7.2,!56Fix #217 and #221
Pipeline #20235 failed
......@@ -404,13 +404,12 @@ public class WriteTransaction extends Transaction<WritableContainer>
}
// entity role
if (newEntity.hasRole()
if (!(newEntity instanceof Property && oldEntity instanceof Property)
&& newEntity.hasRole()
&& oldEntity.hasRole()
&& !newEntity.getRole().equals(oldEntity.getRole())
|| newEntity.hasRole() ^ oldEntity.hasRole()) {
if (!(newEntity instanceof Property && oldEntity instanceof Property)) {
needPermissions.add(EntityPermission.UPDATE_ROLE);
}
needPermissions.add(EntityPermission.UPDATE_ROLE);
updatetable = true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment