I took a look at the ImageMagick media filter code and there is no
manipulation of bitstream permissions in the code.

The generated thumbnail files are returned.  I presume those bitstream
permissions are set by default based on a collection policy.

I had hoped to recommend that you use the XMLUI "item wildcard policy admin
tool" to clean up the permissions, but that tool does not seem to
differentiate bitstreams by bundle.

In our instance, we want the thumbnail permissions to match the original
permissions.

Looking at the following code in MediaFilterManager, there may be a
mechanism to override the default permission behavior.

https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/app/mediafilter/MediaFilterManager.java#L778-L789

Terry

On Mon, Mar 30, 2015 at 8:08 PM, euler <[email protected]> wrote:

> Hi Peter,
>
> > Is there an escape character at the end of ImageMagick Image Thumbnail?
> > i.e. ", \"
> >
> > Did the PDF's get thumbnails generated by Image Magick?
>
> There is no escape character at the end of ImageMagick PDF Thumnail. I'm
> sure that the PDF's thumbnail was generated by Image Magick because I
> deleted first all the generated thumbnails. After running the media filter,
> the thumbnail's permission is the same with its parent bitstream even
> though
> I have this setting in my dspace.cfg:
> filter.org.dspace.app.mediafilter.publicPermission = ImageMagick PDF
> Thumbnail
>
> Did I missed something?
>
> Thanks in advance,
> euler
>
>
>
>
>
>
> --
> View this message in context:
> http://dspace.2283337.n4.nabble.com/Generate-publicly-accessible-thumbnails-of-restricted-content-tp4677233p4677247.html
> Sent from the DSpace - Tech mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> 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
>



-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://www.library.georgetown.edu/lit/code
425-298-5498 (Seattle, WA)
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
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

Reply via email to