[DS-3125] Submitters cannot delete bistreams of workspaceitems

This commit is contained in:
KevinVdV
2016-04-15 13:00:37 +02:00
parent b1e32fc1a7
commit bc9798c753
9 changed files with 86 additions and 6 deletions

View File

@@ -386,6 +386,8 @@ public class BundleServiceImpl extends DSpaceObjectServiceImpl<Bundle> implement
log.info(LogManager.getHeader(context, "delete_bundle", "bundle_id="
+ bundle.getID()));
authorizeService.authorizeAction(context, bundle, Constants.DELETE);
context.addEvent(new Event(Event.DELETE, Constants.BUNDLE, bundle.getID(),
bundle.getName(), getIdentifiers(context, bundle)));