Hello helix,
I am browsing jira.duraspace.org and found this issue:
https://jira.duraspace.org/browse/DS-1215, might be related? Anyways, thank
you so much for your suggestions, I'll try to create a curation task for
that purpose.
Regards,
Elvi
On Thu, Sep 19, 2013 at 11:08 PM, helix84 <[email protected]> wrote:
> Hi Elvi,
>
> I'm afraid this is not easily doable without modifications.
>
> The reason why your thumbnails are restricted is that your collections
> don't have a DEFAULT_BITSTREAM_READ policy for the Anonymous group,
> because you want the bitstreams be restricted as soon as they are
> submitted. There is currently no way to make a separate resourcepolicy
> for different bundles (ORIGINAL and THUMBNAIL), but that sounds like a
> useful feature, so please file a bug report for adding a
> DEFAULT_BUNDLE_ORIGINAL_READ, DEFAULT_BUNDLE_THUMBNAIL_READ policy
> etc.
>
> Due to what I said above, the option is either to add the
> DEFAULT_BITSTREAM_READ policy and restrict content bitstreams manually
> or to keep working the way you do.
>
> Another option would be to write a curation task that makes sure all
> bitstreams in the THUMBNAIL bundle have Anonymous READ resourcepolicy
> set. Depending on how you ingest items into the repository, you could
> run it either from cron on all items, manually after each batch import
> (on all or on just selected items) or hook it up to run after the
> submission process.
>
> You can find extensive documentation on how to write and how to launch
> curation tasks here [1]. My preferred method is writing them in Jython
> [2] because you can skip the compile step and just run it and see the
> result.
>
>
> [1] https://wiki.duraspace.org/display/DSDOC3x/Curation+System
> [2] https://wiki.duraspace.org/display/DSDOC3x/Curation+tasks+in+Jython
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette