I have a curation task that writes metadata fields.
When started via the UI, the tasks runs without raising exceptions.
When started via workflow-curation.xml, as described here: https://wiki.duraspace.org/display/DSDOC6x/Curation+System#CurationSystem-Inworkflow ,
I get an AuthorizeException:
Authorization denied for action WRITE on ITEM:XXX by user null.
The metadata fields are written nevertheless - which is the desired effect.
Why is the user null? Is the exception correct, when the operation still seems to take place?