[ http://jira.dspace.org/jira/browse/DS-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on DS-99 started by Andrea Bollini. > Non-admin user and admin menu options (1.5.1 XMUI only) - ID: 2353606 > --------------------------------------------------------------------- > > Key: DS-99 > URL: http://jira.dspace.org/jira/browse/DS-99 > Project: DSpace 1.x > Issue Type: Bug > Components: DSpace API, XMLUI > Affects Versions: 1.5.1 > Reporter: Stuart Lewis > Assignee: Andrea Bollini > Fix For: 1.5.2 > > Attachments: DS-99-context-menu.patch > > > From: > https://sourceforge.net/tracker/index.php?func=detail&aid=2353606&group_id=19984&atid=119984 > I had a problem with non admin users having access to admin and context > menu options (when submitting a new item) in DSpace 1.5.1 XML. Although > access to these page is prevented, we don't want our users seeing the > options. > I had a look around and noticed that org.dspace.browse.BrowseConsumer > was being fired when a new item was created. In its constructor > context.setIgnoreAuthorization(true) was being called but there was no > corresponding context.setIgnoreAuthorization(false). > In the meantime I have added a call to > context.setIgnoreAuthorization(false) at the end the indexItem method. -- 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 ------------------------------------------------------------------------------ _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel