Write permission to be checked against data base (not against the
intended update)
This commit is contained in:
parent
dcd2eadd05
commit
950ebee553
@ -193,7 +193,7 @@ public class DomainModuleImpl extends AbstractModuleImpl {
|
|||||||
opt.setId(((DomainOption) list.get(0)).getId());
|
opt.setId(((DomainOption) list.get(0)).getId());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
needsWriteAccessOn(existingEntity, "update");
|
needsWriteAccessOn(oldDom, "update");
|
||||||
return super.update(existingEntity);
|
return super.update(existingEntity);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user