Move item - inherit default policies of destination collection
--------------------------------------------------------------

                 Key: DS-525
                 URL: http://jira.dspace.org/jira/browse/DS-525
             Project: DSpace 1.x
          Issue Type: New Feature
          Components: DSpace API, JSPUI, XMLUI
    Affects Versions: 1.6.0, 1.5.2, 1.5.1, 1.5.0
            Reporter: Stuart Lewis
             Fix For: 1.n


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to