The permissions are set by MediaFilterManager
<https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/app/mediafilter/MediaFilterManager.java#L781>,
so the individual media filters don't have to account for this permission
feature.

I did figure out what the issue was though. You have to use the condensed
name of the media filter task (without spaces,
ImageMagickPdfThumbnailFilter), and not the expanded name (ImageMagick PDF
Thumbnail) in filter.org.dspace.app.mediafilter.publicPermission

________________
Peter Dietz
Longsight
www.longsight.com
pe...@longsight.com
p: 740-599-5005 x809

On Tue, Mar 31, 2015 at 10:29 PM, euler <esne...@seafdec.org.ph> wrote:

> Hi Terry
>
>
> > 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
>
> Please, can you help me how to override the default permission behavior? I
> don't want the thumbnails to look like this for the anonymous viewer:
> <http://dspace.2283337.n4.nabble.com/file/n4677262/aem-restricted.jpg>
>
> Thanks in advance,
> euler
>
>
>
> --
> View this message in context:
> http://dspace.2283337.n4.nabble.com/Generate-publicly-accessible-thumbnails-of-restricted-content-tp4677233p4677262.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
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
------------------------------------------------------------------------------
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to