Atmire dspace 3.0 workflow contribution

This commit is contained in:
KevinVdV
2012-08-28 15:53:05 +02:00
parent 39f38215d2
commit c4a9473201
2 changed files with 1 additions and 7 deletions

View File

@@ -215,12 +215,6 @@ public class WorkflowUtils extends Util{
if(role.getScope() == Role.Scope.COLLECTION){
CollectionRole ass = CollectionRole.find(context, collection.getID(), roleID);
ass.delete();
}else
if(role.getScope() == Role.Scope.REPOSITORY){
Group groupToDelete = Group.findByName(context, roleID);
if(groupToDelete != null){
groupToDelete.delete();
}
}
}

View File

@@ -47,7 +47,7 @@
boolean showChecksums = ((Boolean) request.getAttribute("show.checksums")).booleanValue();
request.setAttribute("LanguageSwitch", "hide");
boolean allowFileEditing = !subInfo.isInWorkflow() || (subInfo.isInWorkflow()) && ConfigurationManager.getBooleanProperty("workflow", "reviewer.file-edit");
boolean allowFileEditing = !subInfo.isInWorkflow() || ConfigurationManager.getBooleanProperty("workflow", "reviewer.file-edit");
%>
<dspace:layout locbar="off" navbar="off" titlekey="jsp.submit.upload-file-list.title">