Samuel Ottenhoff created DS-1215:
------------------------------------

             Summary: Display a default thumbnail if the user does not have 
permissions to view instead of 301 redirecting the image to a login screen
                 Key: DS-1215
                 URL: https://jira.duraspace.org/browse/DS-1215
             Project: DSpace
          Issue Type: Bug
          Components: XMLUI
    Affects Versions: 1.8.2
            Reporter: Samuel Ottenhoff
            Priority: Major


How to test:

1) Submit an item with a JPG only
2) filter-media to generate thumbnails
3) Revoke Anonymous access to all bitstreams
4) Logout
5) generate the indexes: bin/dspace index-update
6) view the index as an anonymous user

The thumbnail will not appear for the items where the anonymous access to the 
bitstreams was revoked. But instead of displaying nothing (or a default 
thumbnail), DSpace does the interruptRequest() on each of the thumbnails which 
results in the inlined image becoming a 301 request to login.

And because the interruptRequest was called, now attempt to immediately login: 
you will be redirected to the thumbnail.....

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.duraspace.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to