[ http://jira.dspace.org/jira/browse/DS-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10675#action_10675 ]
Larry Stone commented on DS-288: -------------------------------- > Would it be possible and/or desirable to move the logic up into > item.getMetadata() I thought about that, but restricting metadata based on user identity is really a UI issue; we're effectively designating one group, Administrator, who gets to see all fields, and restricting the view for everyone else. I think it would break a lot of export and crosswalk behavior if it were baked into item.getMetadata() since callers of that (e.g. other OAI-PMH xwalks, LNI, batch export) don't always have a logged-in user or want to have to make it an Administrator. We have an OAI crosswalk at my site specifically to expose portions of the provenance field, even though it has to be hidden in the public Web UI.. (sure, it is inconsistent, but what IR manager has 100% self-consistent policies?) > Hide metadata from full item view > --------------------------------- > > Key: DS-288 > URL: http://jira.dspace.org/jira/browse/DS-288 > Project: DSpace 1.x > Issue Type: New Feature > Components: JSPUI > Affects Versions: 1.6.0 > Reporter: Claudia Jürgen > Assignee: Larry Stone > Priority: Minor > Attachments: md-exposure-diff.txt, MetadataExposure.java, > WebuiItemDisplayFullHideJSPv01.patch > > > Interim solution for part of DS-266 > until a more sophisticated management is developed > This patch adds a configuration option, which fields to hide from full item > view, to the dspace.cfg: > # webui.itemdisplay.full.hide = schema.element.qualifier, \ > # schema.element.qualifier, \ > # schema.element.* ,\ > # schema.* > > If nothing is configured it defaults back to hide dc.description.provenance. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.dspace.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel