Hi, First question, have you cleared the OAI response cache since you implemented the changes?
$ [dspace]/bin/dspace oai clean-cache Cheers, On Mon, Jul 3, 2017 at 2:03 PM Hayden Young <[email protected]> wrote: > We are running 5.5 and 5.6 repositories and have had people report that > restricted items are still accessible via OAI. > > After reading > https://groups.google.com/forum/#!searchin/dspace-tech/restricted$20item$20oai|sort:relevance/dspace-tech/Ccl38AyKLv8/-odZSO2MAgAJ > it appears that as of 5.x the xoai.cfg file should ensure that items marked > as item.public = false are not exposed via OAI. > > Querying the OAI items directly through Solr using curl -g > http://localhost:8080/solr/oai/select -d'q=item.id:[item_id]&rows=1&wt=xml' > shows that items are indeed marked as item.public=false and xoai.cfg is > unchanged: > > <Filter id="defaultFilter"> > <Definition> > <Or> > <LeftCondition> > <Custom ref="itemAccessCondition"/> > </LeftCondition> > <RightCondition> > <Custom ref="itemWithdrawnCondition"/> > </RightCondition> > </Or> > </Definition> > </Filter> > > > > What can also contribute to restricted items being displayed via OAI? > > -- > You received this message because you are subscribed to the Google Groups > "DSpace Technical Support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/dspace-tech. > For more options, visit https://groups.google.com/d/optout. > -- Alan Orth [email protected] https://picturingjordan.com https://englishbulgaria.net https://mjanja.ch -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
