Re: [Dspace-tech] Generate publicly accessible thumbnails of restricted content

2015-05-19 Thread Hilton Gibson
Hi Alan Thanks. I have deleted the option on the 4.X page. Cheers hg *Hilton Gibson* Ubuntu Linux Systems Administrator Stellenbosch University Library http://staff.lib.sun.ac.za/~hgibson/docs/cv/cv.html On 19 May 2015 at 15:49, Alan Orth alan.o...@gmail.com wrote: Hilton, Your 4.x docs

Re: [Dspace-tech] Generate publicly accessible thumbnails of restricted content

2015-04-01 Thread Peter Dietz
Hi Hilton, Yours looks correct. The publicPermission requires the condensed name, in Java parlance that would be the Class.getSimpleName(), for each media filter, thus the name of the class, or name of the java file for each media filter. I'll call it condensed without spaces form.

Re: [Dspace-tech] Generate publicly accessible thumbnails of restricted content

2015-04-01 Thread Peter Dietz
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

Re: [Dspace-tech] Generate publicly accessible thumbnails of restricted content

2015-04-01 Thread Hilton Gibson
Hi All Is this correctly documented then: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Media_Filters/4.X#Step_4F and http://wiki.lib.sun.ac.za/index.php/SUNScholar/Media_Filters/5.X#Permissions Cheers hg *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025C

Re: [Dspace-tech] Generate publicly accessible thumbnails of restricted content

2015-03-31 Thread euler
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

Re: [Dspace-tech] Generate publicly accessible thumbnails of restricted content

2015-03-31 Thread Terry Brady
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

Re: [Dspace-tech] Generate publicly accessible thumbnails of restricted content

2015-03-30 Thread Peter Dietz
Hi Euler, In your config: Word Text Extractor, ImageMagick Image Thumbnail, ImageMagick PDF Thumbnail Is there an escape character at the end of ImageMagick Image Thumbnail? i.e. , \ Did the PDF's get thumbnails generated by Image Magick? Peter Dietz Longsight

Re: [Dspace-tech] Generate publicly accessible thumbnails of restricted content

2015-03-30 Thread euler
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