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

Move item - inherit default policies of destination collection

    XMLWordPrintable

    Details

    • Attachments:
      2
    • Comments:
      3
    • Documentation Status:
      Complete or Committed

      Description

      When using the UI to move an item, the item is moved, and it takes its authZ policies with it,

      However, a common use case is to move an item from a dark collection, to an open collection. In this case, it is desired behaviour for the authZ policies to be updated to the default policies of the destination collection.

      This patch gives a new checkbox for jspui and xmlui to allow the destination policy to be inherited. By default the checkbox is unchecked.

      The API has been updated to add this as a boolean option on the Item.moveItem method.

      The patch also fixes two bugs with the xmlui move item function:

      1) When selecting which collection to move the item to, the collection that is is currently in is no longer listed.
      2) Previously a new authZ policy was added to the item to allow the admin to move the item. This was not removed once the item had been moved. If an item was moved multiple times, lots of these policies were left in the item. Instead, the patch updates it to set a temporary action allowing this, rather than a policy.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stuartlewis Stuart Lewis
                Reporter:
                stuartlewis Stuart Lewis
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: