mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-15 14:03:17 +00:00
Atmire dspace 3.0 workflow contribution
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -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">
|
||||
|
Reference in New Issue
Block a user