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

Collection admin cannot add bitstreams unless there is at least one bundle

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.2
    • Fix Version/s: 1.7.1
    • Component/s: DSpace API
    • Labels:
      None
    • Attachments:
      1
    • Comments:
      3
    • Documentation Status:
      Not Required

      Description

      Collection admin should have all privileges to all the items in the collection if granted in the configuration file. But she does not: if the collection admin tries to add a bitstream into an item with no bundles, she gets an error message: "You need the ADD & WRITE privilege on at least one bundle to be able to upload new bitstreams".

      And really, in AddBitstreamForm.java there is a comment:
      // If the bundle does not exist then you have to be supper admin to be able
      // to upload to this bundle because at upload time the bundle will be created but
      // there is no way anyone but super admin could have access to add to the bundle.

      Why is this so? Couldn't we only check whether the user is an item admin and if she is, give permission to add a bitstream?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              peterdietz Peter Dietz
              Reporter:
              eiairio Eija Airio
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: