Hi,

I could verify the error I described earlier on the demo machine (XMLUI, 5.4). As described below, the error only happens when a user with Workflow-Step rights and without administrator rights tries to take an item from the pool by clicking the "take task" button.




Best regards,
Franziska Ackermann



Am 23.11.2015 um 14:50 schrieb Franziska Ackermann:
Dear list,

I believe I found a bug related to the "take task" button during the workflow process.

As an _administrator_, I click on "take task" and the item is assigned to me to be reviewed. As a _non-administrato__r__with workflow step rights_ (let's say "Reviewer1"), I click on "take task" and get this error:

You are not allowed to perform this task.

Java stacktrace: org.dspace.authorize.AuthorizeException: You are not allowed to perform this task. at org.dspace.app.xmlui.aspect.workflow.FlowUtils.authorizeWorkflowItem(FlowUtils.java:164) at sun.reflect.GeneratedMethodAccessor228.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155) at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3237) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2394) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:160) at org.mozilla.javascript.Context.call(Context.java:538) at org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1833)
....

However, the item is assigned to "Reviewer1" in the database. This becomes evident when you reload the submission page. The item will then appear under "Tasks you own".

Do you have any suggestions on how to fix this?

Best regards,
Franziska Ackermann

--
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
Visit this group at http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "DSpace 
Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to