![]() |
|
|
Issue Type:
|
Bug
|
Affects Versions:
|
3.2, 3.1, 3.0 |
Assignee:
|
Unassigned |
Components:
|
DSpace API |
Created:
|
17/Oct/13 5:36 PM
|
Description:
|
If you withdraw and item that has custom policies in place (embargo, access restrictions, etc), then reinstating that item causes it to always revert back to inheriting the Collection defaults policies.
How to replicate
1. Submit a new Item, adding an embargo (or access restrict it after submission so that it is only accessible to a particular group)
2. Edit the item.
3. Withdraw that item. (or click "make private")
4. Reinstate it. (or click "make public")
In reality what is happening here is that when the Item is reinstated it ends up with double policies:
(a) the custom policy (e.g. embargo or access restriction) previously applied to the Item
(b) the newly added re-inherited policy from the Collection (which is often Anonymous READ). This one overrides the more restrictive custom policy.
The end result will be that the Item will now be publicly accessible (if the Collection defaults to Anonymous READ). This also happens when you click "make private" followed by "make public". Essentially the "Item.reinstate()" method is always reapplying default collection policies, even if the Item policies are more restrictive.
It seems like if an Item has been given custom access restrictions or an embargo, reinstating it should respect those previously set permissions (and not "reset" them).
(NOTE: This issue may be loosely related to DS-1709 which also causes Items to have multiple policies attached, where the least restrictive policy overrides the more restrictive one.)
|
Fix Versions:
|
4.0 |
Project:
|
DSpace
|
Priority:
|
Minor
|
Reporter:
|
Tim Donohue
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel