Hi Anna,

I'm thinking the best way to do this would be to customize https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/artifactbrowser/ItemViewer.java#L289 to make a conditional that checks if the user is authenticated.

            String link = contextPath + "/handle/" + item.getHandle()
                    + "?show=full";
            showfullPara.addXref(link).addContent(T_show_full);



However, even though the link would be no longer displayed to the anonymous user, I suppose someone could still "guess" how to append ?show=full to the end of the URL to get the Full Metadata. Also, keep in mind that OAI (and REST API in DSpace 4+) will still be disseminating all metadata for the item (except for prohibited things like provenance).

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


On Thu, Jul 10, 2014 at 1:20 PM, Anna Goslen <agoslen1@swarthmore.edu> wrote:
Hi all,

I would like to hide the "show full item record" link on the item record unless the user is authenticated. 
 
We are using DSpace 3.1 with XMLUI, Mirage theme.

Thanks for any help anyone can provide!

Anna

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
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