Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-3621

Authorization denied for action WRITE when starting curation task from workflow-curation.xml

    Details

    • Type: Bug
    • Status: Volunteer Needed (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 6.0, 6.1
    • Fix Version/s: None
    • Component/s: DSpace API
    • Labels:
      None
    • Attachments:
      4
    • Comments:
      4
    • Documentation Status:
      Needed

      Description

      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?

        Attachments

        1. DocumentDS3621.java
          2 kB
        2. error message
          0.3 kB
        3. local.cfg
          0.3 kB
        4. workflow-curation.xml
          0.5 kB

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              martin.walk Martin Walk
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: