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

Error submitting an item to a collection without WRITE permission via REST

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Volunteer Needed (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 6.2
    • Fix Version/s: None
    • Component/s: REST API
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      2
    • Documentation Status:
      Needed

      Description

      If I try to add an item via REST on DSpace 6 with a user without a WRITE permission to the collection, the submit fails. The user can still use the submission form, but its not possible to add an item via REST.

      I get the following information in dspace.log:

      2017-11-25 15:28:36,550 ERROR org.dspace.rest.CollectionsResource @ User has not permission to write collection!

      This is happening for collections with or without an approval workflow (so a little bit different to the behavior I noticed via SWORD, cf. DS-3766). If I add the WRITE permission to the user, the submission via SWORD works fine, but as far as I understood it, this permission should not be required just to add an item?!

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              olli_gold Oliver Goldschmidt
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: