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 <[email protected]> wrote:

> Hilton,
>
> Your 4.x docs seem to suggest publicPermission is available in DSpace 4.x,
> but it's not. I was very happy when I read your docs, until I grepped the
> 4.3 source tree for `publicPermission` and got no hits. :)
>
> Seems it's a DSpace 5.0+ feature:
> https://wiki.duraspace.org/display/DSDOC5x/Mediafilters+for+Transforming+DSpace+Content#MediafiltersforTransformingDSpaceContent-Configurationparameters
>
> Regards,
>
> Alan
>
> On Wed, Apr 1, 2015 at 4:57 PM Peter Dietz <[email protected]> wrote:
>
>> 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.
>> filter.org.dspace.app.mediafilter.publicPermission = JPEGFilter,
>> XPDF2Thumbnail, BrandedPreviewJPEGFilter
>>
>> Once you upgrade to 5.x, and use the ImageMagick media filter, then
>> you'll be able to drop the extra build pice of -Pxpdf-mediafilter-support,
>> but I'm guessing you need that now, while your using xpdf.
>>
>> ________________
>> Peter Dietz
>> Longsight
>> www.longsight.com
>> [email protected]
>> p: 740-599-5005 x809
>>
>> On Wed, Apr 1, 2015 at 9:44 AM, Hilton Gibson <[email protected]>
>> wrote:
>>
>>> 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
>>> Stellenbosch University
>>> Private Bag X5036
>>> Stellenbosch
>>> 7599
>>> South Africa
>>>
>>> Tel: +27 21 808 4100 | Cell: +27 84 646 4758
>>>
>>> On 1 April 2015 at 15:36, Peter Dietz <[email protected]> wrote:
>>>
>>>> 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
>>>> [email protected]
>>>> p: 740-599-5005 x809
>>>>
>>>> On Tue, Mar 31, 2015 at 10:29 PM, euler <[email protected]> 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
>>>>> [email protected]
>>>>> 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
>>>> [email protected]
>>>> 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
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>> List Etiquette:
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
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